In my class, a data member is a pointer to a character array......which is assigned to memory from the heap when the constructor is called.
One of the arguments to the constructor is a string, and I want to copy that string to the memory in the heap. Using the copy() member function of the string class does the job, but my compiler (Visual Studio 2005) complains that it is deprecated. Is there a better way to do this?