Help with displaying an Object Char Array

Pages: 12
closed account (NU9GNwbp)
Ok one last thing: How do I check to see if the array exists so I can delete it at the start of the function?
In the constructor you should initialize the pointers to 0 (null). In the function if they are not null (meaning they have been initialized) you should delete them so that when you make the new arrays you don't have a memory leak. ;)
closed account (NU9GNwbp)
Wow that works! Thanks again, I appreciate the subtile hints so I can figure it out too.
I now have a solid program that works pretty well!
Topic archived. No new replies allowed.
Pages: 12