
Search In
Hi all,
While designing a form in html with CSS3, I came across a situation where I have to set the color of asterix sign which was a part of placeholder in textbox input type and to do that with CSS3, I used to following block of code:
in html, we
Passing argument to a function by value is also know as call by value. This method of passing arguments to a function copies the original value of argument into the formal parameter of a function. In other words if we change parameter which are give
Passing argument to a function by reference is also know as call by reference. In this method if we change the parameter given in the function will effect the argument. For passing a value by reference, we use pointers. As we use pointers in call b
Program to find length of a string without string.h and loop in C?
#include <stdio.h>
int main()
{
char s100];
printf( "\rLength is: %d", printf("Entered string is: %s\n", gets(s)) - 20);
return 0;
}
output:
Entered string
A linked list is type of data structure that contains items in linear order. Deleting an item from linked list performs O(n) time complexity. you can perform two type of deletion from linked list either you can delete first item of list or in any giv
Php sorting function of an array:
sort() -This will sort an arrays in ascending order.
rsort() -This will sort arrays in descending order
asort() -This function will sort associative arrays in ascending order, according t
Scanner Class in Java
Scanner is a class contained in java.util package basically used for obtaining the input of the primitive types like int, double,and strings. To read input an object of Scanner class is created and various methods are used to r
When we login through parse.com so at the time of logout, we need to clear the current user.
We need to simple use method logOut() of parse.
Below is the code
ParseUser.logOut();
ParseUser currentUser = ParseUser.getCurrentUser(); // Now this wil
varargs
varangs is variable arguments. varangs as name suggest allows a method to have 0 or mutiple argument.
Autoboxing
Autoboxing is converting primitive data type into it's equivalent wrapper type class automatically in Java.E.g: int p
In OpenERP when creating the wizard resource than the action of form is returned so agian we have to create the users and relate it to wizard resourse and also clicks the init icon in the web client than retrieve translated version of wizard's na
