Hi,
I've been reading a book on C++ for a while. I've been reading about how to create objects on the heap. If I'm right the difference when declaring would be something like this:
CObject *Object = new CObject;
which creates a pointer to the object on the heap where-as:
CObject Object;
just creates it like usual.
It explains the concept but doesn't explain why you should want to use one or the other or anything, it just explains the difference.
I apologise for any technical innaccuracies, I'm new to a lot of this and I don't have the book to hand.
Many thanks,
Daniel