Hey,
I am writing a win32 consol app using visual c++.
what I am trying to do is cobine two strings. this is how i am doing it:
String one = ".//savefile//";
string two = "fileone.txt";
string three = one + two;
Now this compiles and runs, but i get a weird error, insetad of the string three reading ".//savefile//fileone.txt", it instead reads "Xuo".
Does anyone know why this is happening? Am I doing it the wrong way?
Thanks for your time.
I am writing a win32 consol app using visual c++.
what I am trying to do is cobine two strings. this is how i am doing it:
String one = ".//savefile//";
string two = "fileone.txt";
string three = one + two;
Now this compiles and runs, but i get a weird error, insetad of the string three reading ".//savefile//fileone.txt", it instead reads "Xuo".
Does anyone know why this is happening? Am I doing it the wrong way?
Thanks for your time.