if you have to add 100000 elements, then what you will do....you can create even singly linked list without a loop. I mean whats great in this...
it is better to use vfork and then spawn. vfork does not creates a new process till the time we do spawn thereby saving system resources
How to create a template that takes the input as a class that is also templatized? The template should not accept the non templatized classes....
memory alignment is very imp when we port code from 32 bit to 64 bit systems. code that work perfect on 32 bit systems may cause Bus errors in 64...
does <<endl; really flush the buffer? I seriously doubt coz putting \n in printf does not. then how can endl do that
On solaris there is a command called isainfo that describe instruction set architectures. It will tell if OS is in 32 bit or 64 bit
In the same way as he has done for numbers. You just need to overload > operator if you are using C++. If you are using C, then write a function...
There is a book called Graphics in C by Yashwant Kanitkar. That has many more examples
Reference is just an alias. Like a different name to same variable where as Pointer is the actual memory location where the variable is stored
Wow....too good. I am preparing for C++ inreview and this info is very useful
It was asked to me in Amazon interview. Its a very good interview question
Most welcome to our community.
I am new here. I have always enjoyed php.Net and Visual C# and from what i've seen i LOVE PHP and Jquery looks very interesting..
Separate names with a comma.