
Search In
memcpy()
This method as the name suggest memcpy() i.e memory copy is used to copy a number of bytes i.e a block of memory from one location to another location.
Syntax of memcpy():
void * memcpy(void *to, const void *from, size_t numBytes);
Pro
Sometime there is a situation where we have to call previous page method after completing the current page process. This is usually required when we open the page in Dialog box.
Here below is the example of this.In this example, I open the 2nd form i
SHA1(Secure Hash Algorithm 1) is an encryption type which is useful while saving password and other information which we want to keep secured.
Here is the sample code of converting a string to SHA1 hash.
public static string GetSha1(string value)
If you want to change width and height to the box and show the content after a transition on hover, below code will help you.
We can easily use the transition property and change the width and height to the div, for this first we will create the con
Suppose we have an object and that object is assigned to two different variables.
Now if we make any changes to one variable the other variable's will automatically change.
For example
Obj_1 = [1,2,3]
obj_2 = obj_1
obj_2 << 4
p Obj_1
p
Hello friends,
Today we learn how to find out the difference between two or more arrays. Difference between two or more arrays can be based upon key and value of arrays. PHP provides following functions to fulfill the same:
1. array_diff() Fun
Angular 2 is different from Angular 1 as it is written completely in Typescript and includes the ES6 specification. As it is not updated version of Angular 1.x so it is rewritten and has many changes.
Component based Programming:
Angular2 is compone
I create a user control. i have label (labe1, label2, label3). this labels have auto size property to false, and the user control scale base on the combine height of the three labels.
My problem is the height of the labels work fine but their
Traversing means to select HTML element on the basis of their relationship with other elements. Begining with one element we move through the DOM(Document object Model) untill we achieve the element needed.
As we shift from one element to another in
Creating Indexes in Mogodb- ensure Index and get indexes then verify
Hello readers!
Many time we get stuck with the query How to Creating Indexes in Mogodb, ensure Index and get indexes then verify?
Here below is the simple answer for this query-
I
