I'm have a small confusion, and i need a little clarification; when you make something on the heap, like this:
int *somePointer = NULL;
somePointer = new int;
an int is created on the heap right?
This would be the equivalent of doing something like...:
int x;
...directly on the heap, right?
Also, what are the scope limitations of the heap? Any help?
~ Mike