Quote:
Originally posted by Lil'Hasher
is there anyway at all to do this using a character array? I was so sure it was possible and that I was just forgetting something.
Thanks for all the help, I appreciate it
Lil'Hash
As Paul W. pointed out, you have to manage the memory yourself. One thing Paul left out of his example is that you need to write a copy constructor and assignment operator to properly manage your class if you use char *. I will post them and you can tell me which one you feel is easier to maintain.