G
Gernot Frisch
Hi,
std::string a("a"), b("b");
This doesn't seem to work, due to a missing '+' operator in
std::string.
printf("%s", (a+b).c_str());
How do you handle such situations?
std::string tmp(a); tmp+=b; ??
Thank you,
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}
________________________________________
Looking for a good game? Do it yourself!
GLBasic - you can do
www.GLBasic.com
std::string a("a"), b("b");
This doesn't seem to work, due to a missing '+' operator in
std::string.
printf("%s", (a+b).c_str());
How do you handle such situations?
std::string tmp(a); tmp+=b; ??
Thank you,
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}
________________________________________
Looking for a good game? Do it yourself!
GLBasic - you can do
www.GLBasic.com