Converting char[] to string
Jun 18, 2008 at 5:18pm
What would be the best way to convert char[] to string?
Thanks in advance.
Jun 18, 2008 at 6:38pm
1 2
|
char mychar[] = "bob";
string mystring = string(mychar);
|
:)
Topic archived. No new replies allowed.