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...:
...directly on the heap, right?
Also, what are the scope limitations of the heap? Any help?