Hi, I would like to nominate this 2 threads, 1.Stack Memory Managment http://www.go4expert.com/showthread.php?t=16473&goto=newpost...
Sorry just compare using strcmp or else it will check for ptr address validation.
Hi, The reason is simple.. ur trying to compare ( (commaand == "help") || 'h') which is always true.try to compare it with...
Hi, check this http://www.go4expert.com/showthread.php?t=16473
Introduction Exception handling is a mechanism when a part of code detects exceptional suituation, it seperates the code where it detects and...
Hi Guys , Sorry that i missed one Infor about the stack frame. The stack frame would be like ____________________________...
For those using Intel/Windows m/c Try this void fn(void) { int *ptr; ptr = (int *)&ptr; ++ptr; ++ptr; int* mnptr...
My article cross delegation and How to prevent your class getting inherited I am nominating these 2 articles
Memory Segment Whenever U create a program and load it on a CPU ie executing UR program. It loads a Process Page on the virtual memory of UR...
Hi, declare int n; first where you want to specify the no of bytes to be read.
When you plan to design a Class for which you feel that it should not be inherited further by any other class then...Here is a tip : Use of...
Hi, Good that u tried to do one without dynamic allocation. But one thing we should be carefull about is Static objects get created at...
Hi, Actually this concept just explains what is cross delegation and Your code should be written such way that there are no ambiguity.
Hi, You forgaot to add operator overloading for =() to add the counts and subtract the counts when they are assigned to NULL
Hi, On your first Point mentioning that .... "I know the Singleton design is supposing to have only one instance...
1 Opening the serial port Opening the serial port is very easy, especially if you’ve ever done Windows file I/O before. First, make sure you...
In c++ you would have heard about famous Dreaded Diamond problem, where a class appears more than once in the inheritance hierarchy. for eg:...
Hi, In your code getNormal () U r passing address of an array vector3D[3] .So to fill the values in each row of vector3D[3] you should...
Hi, Can you create a data type in "C" were we can store 20 bytes and perform simple arithmentic operations like +, - for example New_Type...
Separate names with a comma.