Quick question while learning C++:
Say you have class A, you can instantiate an object of class A like:
And then you can do stuff with that class (eg, a.method(), etc.)
But you can also do:
A a = new A();
And do stuff with that, and delete it with:
My question: What's the difference between the two?