In C++ do you always have initialize a pointer to an object with the new keyword?
new
Or can you just have this too:
MyClass *myclass; mycl
if you want the object on the stack, try this:
MyClass myclass; myclass.DoSomething();
If you need a pointer to that object:
MyClass* myclassptr = &myclass; myclassptr->DoSomething();