Quick [dumb] question: I have a huge data storage class (lets call it DataClass). If I declare a pointer to that class, would that pointer take up a lot of memory (I am having memory problems so I want to be careful), or since its just a pointer (only storing an address) would the amount of memory it uses be trival?
DataClass *ptrDataClass; // ptr to huge data class
// addition side question: do I have to say ptrDataClass = new DataClass() ???
ptrDataClass = dc;