I wrote some code today that will list all the sections in a PE file...the code works but at the end it gives an exception :Invalid pointer operation... and i don\'t know why...could someone please fi
QUESTION ANSWERED IN COMMENTSBecause of my reputation, I can\'t answer it in the regular fashion. I\'ll add details in an answer later, already addressed in comments. Thanks.**
Consider this code: int *p = new int; cout << sizeof(*p); delete p; As expected the result is 4. Now, consider this other code:
I\'ve done some searching around and most posts are using the php explode function to separate a string and store its values into an array.
I don\'t under开发者_JS百科stand the need for dynamic arrays. From what I understand so far, dynamic arrays are needed because one cannot always tell what size of array will be needed at runtime.
I am working on a modificatio开发者_开发问答n of PKTGEN for sending packets containing sequences of the Fibonacci series. This is my very first time with kernel development, so I am not very familiar
The last line of this particular code block produces the error \"lvalue required as left operand of assignment\". The confusion lies in why the last line throws this error while the second to last lin
I\'m developing a 2d-platformer. Everything was fine until I\'ve got some hard to solve problem. Level map is stored in dynamic multidemension array(char **map). It works fine, until I want to redefin
I create a dynamic array in C with malloc, ie.: myCharAr开发者_如何学Goray = (char *) malloc(16);
How can I use the second array as a seperate variable? and print it as, for example, a link. My current code is: