Before I start, by class pointers I mean something like this:
Class* class = new Class();
and by classes I mean
Class class;
Anyways, my question is in what situation should I use the class pointer and the class, respectively. Also, one problem I've been facing with just using the class, is calling a constructor. I'm not sure if it's possible in this manner, but I was wondering if it was.
Thank you for your help!
~Crockeo
P.S. -- Sorry for my C++-stupidity, when I used it a long time ago I didn't use it enough to get into classes and pointers.
EDIT: Also, forgive me for any grammar mistakes, 1 AM can do terrible things to one's brain.
This post has been edited by Crockeo: 02 June 2012 - 10:01 PM

New Topic/Question
Reply




MultiQuote







|