I would like to nominate this 2 threads,
1.Stack Memory Managment
Sorry just compare using
strcmp or else it will check for ptr address validation.
The reason is simple..
ur trying to compare ( (commaand == "help") || 'h')
which is always true.try to compare it with...
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
ptr = (int *)&ptr;
My article cross delegation and How to prevent your class getting inherited
I am nominating these 2 articles
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...
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...
Good that u tried to do one without dynamic allocation. But one thing we should be carefull about is Static objects get created at...
Actually this concept just explains what is cross delegation and Your code should be written such way that there are no ambiguity.
You forgaot to add operator overloading for =() to add the counts and subtract the counts when they are assigned to NULL
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.
In your code getNormal () U r passing address of an array vector3D .So to fill the values in each row of vector3D you should...
Can you create a data type in "C" were we can store 20 bytes and perform simple arithmentic operations like +, -
Separate names with a comma.