Hey Blitzers :-)
If it says "X must be create on the heap", it is talking about using "new X" isn't it?
And when it says "You can create X on the stack", it is referring to the temporary stack where one creates a variable like "MyClass x" ?
This C++ malarkey is slowly coming together in my head... Oh well... I tend to make it up as I go anyway :-)
If it says "X must be create on the heap", it is talking about using "new X" isn't it?
And when it says "You can create X on the stack", it is referring to the temporary stack where one creates a variable like "MyClass x" ?
This C++ malarkey is slowly coming together in my head... Oh well... I tend to make it up as I go anyway :-)