thanks hcexi, I actually didn't know I could
assign a variable as a pointer pointer (**) ;-P
Also, thanks for the destructor...I prolly
would not have destroyed each individual array
before destroying the initial one....there would
have been hanging pointers everywhere. tks again...
I attempted to do this using a pointer to a specific data
type, say int:
int* x;
then i created a single dimension array to hold the columns
x = new * int [10] // this gives me an error for the *
I wouldn't know any other way to create an array of
pointers?!?
then I would use a for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.