Nope, not yet. There's a lot to read and I have several books!
Printable View
Well, I suppose that's the question. How do I destroy foo? It's a class member and that class needs to stick around & foo *may* need to be filled again with new data? Outside of making foo point to a dynamically allocated string (i.e. string* foo = new string) just so I can delete foo; is there some other way to destroy foo?
Refer to cpjust's example in post #13.