Posted by ak on August 07, 2000 at 19:05:08:
In Reply to: Re: string class to char array conversion posted by hussein on August 07, 2000 at 17:27:34:
in that case, how do we type cast an am_string to a string again?
: string teststring;
: char testarray[1024];
: strcpy (testarray, teststring.c_str ());
: "c_str" is a function that accesses the c-style string version of the string variable.