T
The Cool Giraffe
I have these two line of code and they work as they're
supposed to.
std::string outPut (ch);
return outPut;
Now, i've tried to exchange those two for the one below but
the computer said no. Why?
return (std::string outPut (ch));
Of course i have that char ch[10] and i'm returning
std:string from the method. I'm using VC++.NET compiler.
supposed to.
std::string outPut (ch);
return outPut;
Now, i've tried to exchange those two for the one below but
the computer said no. Why?
return (std::string outPut (ch));
Of course i have that char ch[10] and i'm returning
std:string from the method. I'm using VC++.NET compiler.