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

Search In

Program to Convert String into Uppercase

Using library function: We can use toupper() library function present in "string.h" to convert string into uppercase. #include <stdio.h> #include <string.h> int main() { char str[100]; printf("Enter a string to convert it to Upp

Object Cloning

Object Cloning: Cloning means to create exact copy of an existing object. To clone a object we have to implement  java.lang.Cloneable interface by that class whose object will be cloned. clone() method is defined in Object class. Example:

Customize one2many relational field in Odoo

If you want to customize one2many relational filed in Odoo. Then you have to go in .py file of that module then go to .xml file. For example see below code. In xml you would have wrote code like this :   <field name="test" widget="one2man

Recursion in C

Recursion is the process which repeat itself until some condition is reached otherwise it gets repeated again and again.   In programming languages, if a program allows to call a function inside the same function, then it is called a recursive

yield in python

yield in python The yield statement in python is similar to return statement, the only difference is that whenever yield statement is encountered in a function, the execution of function is suspended and a value is send back to the caller but becaus

jQuery AJAX load()

It is a very simple and powerful ajax method to load the data from the server and display it in the selected element. $(selector).load(URL,data,callback); URL parameter specifies the URL you wish to load data parameter specifies a set of querystr

find the longest sub-array that all of its elements are less or equal A[i]

I have an array A[1,...,n] of positive numbers, for example: [1, 2, 5, 3, 7, 2, 8, 4] I need to build an array S[1,...,n] according to the definition: S[i] = max {k|∀i−k <j≤i :A[j] ≤ A[i] and k ≤ i} It means to find the

Google Map v3: How to calculate distance between two end points?

Google Map v3: Calculate Distance How to calculate distance between two end points in google map v3? Use the Haversine formula to calculate distance between two end points. Note: you must add &libraries=geometry to your script source. This is

Default copy constructor in c++

A copy constructor is a special type of constructor by using which we can initialize the data members of a newly created object by existing objects. The compiler provides a default copy constructor.  Syntax of calling a copy constructor is: co

UIActionSheet in objective c

We can show the action sheet by using following code. In the below code we displayed the action sheet on button action.   - (IBAction)actionSheetButtonAction:(id)sender {     UIAlertController *obj1=[UIAlertController alertControllerWithTitl

1 67 949
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: