dynamic allocation of Date class
Posted on 2005-04-23
I've just been messing around with pointers declaring dynamic classes, but cant get it to use the member functions.
Eg, i can have:
which will print out the date info fine, but cannot get:
Date *dptr = new Date(1,4,2005);
I haven't done much on pointers for a while so please excuse me if I have made some schoolboy errors.