does any clever body out there have any idea how to convert a cstring to a character array? even being able to assign a pointer to the cstring would be nice. i've tried to assign a pointer with the #include <afx.h> which throws up no errors but breaks the computer (i presume there's a memory problem here but what do you do?).
it would seem sensible to use cstrings throughout the program but i'm in the process of converting a linear 'c' prog into a 'c++ mfc' job and there's tons of code to change in a short time for this to be possible.
can anybody help?
ralph
it would seem sensible to use cstrings throughout the program but i'm in the process of converting a linear 'c' prog into a 'c++ mfc' job and there's tons of code to change in a short time for this to be possible.
can anybody help?
ralph