Is there an easy way to change a C-type char to a C++-type string.
I currently have a name being passed through a function (char name[50]) into a string. It compiles fine, but the string in the function is empty. Weird, no?
By the way, if it matters, the function is actually a method of a class.
-------------------------
Just call me Captain Awesome.
I currently have a name being passed through a function (char name[50]) into a string. It compiles fine, but the string in the function is empty. Weird, no?
By the way, if it matters, the function is actually a method of a class.
-------------------------
Just call me Captain Awesome.