Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Return maximum occurring character in the input string in C++?

// C++ program to output the maximum occurring character in a string #include<bits/stdc++.h> #define ASCII_SIZE 256 using namespace std; char getMaxOccuringChar(char* str) { int count[ASCII_SIZE] = {0};//create an array to keep characte

Statement interface

Statement interface: It provides methods to interact with database means using Statement interface we can execute SQL queries.The createStatement() is present in java.sql.Connection interface and it does not take any argument. To use Statement inte

How to use the mysql result for the sepecific values

Hello Reader's if you are learning, optimizing the mysql query then in this blog you will know some new syntax offered by Mysql where you can make your query fast. Lets see the examples as below:- In the code below, the results selects all

preventDefault() function in JQuery

In MVC projects or in any .NET projects when we use the controls which are not of pure HTML type the page rendering or postback gets occurred.     So for this we need to make sure that you use the function that will not get your control

How to make loops and special fields in OpenERP/Odoo ?

If you want to make loops and special fields in OpenERP use below code - def get_totals(self, cr, uid, ids): countries = {} for sale in self.browse(cr, uid, ids): country = sale.partner_invoice_id.country countries.setdefault(country, 0.0) countr

get strength of wifi in your android device

If you want to get the strength of some wifi , you can use wifi manager class and can get list of available wifis like this WifiManager manager; manager = (WifiManager) getSystemService(WIFI_SERVICE); List<ScanResult> res = manager.g

Javascript seach box with matched case

Here is the example for making a search box with a matched case which shows the searched text with the highlighted matches available. You have to paste your paragraph text in the text-area and enter the searching keyword in input box given below the

Sample Barcode Scanner Application

Here is a sample code of simple **Barcode Scanner** app. Barcode scanner library is attached with this project you just have send an startActivityForResult to open Scanner like this. Intent intent = new Intent(getApplicationContext(),CaptureActiv

Create A Cool Typographic Face in Photoshop

Hello Guys this is a video tutorial in which you will be learning about typography. we will be creating a typographic human face with the help of type, transformation and Warp image mode. font used in this tutorial is Impact which is a bold type font

ASP.net mvc with unit test example

"ASP.net mvc with unit test example" In this blog we will discuss how to write unit tests for the controllers in our ASP.NET MVC applications. We will write following three Test cases: Test for the view returned by a controller action Test for t

1 13 282
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: