"Christoph Rabel" <od**@hal9000.vc-graz.ac.at> wrote in message
news:3f***********************@aconews.univie.ac.a t...
wak wrote: hi!
how can I convert an int to char !?
You can use a stringstream or sprintf.
So C++ has no simple way to concat a string and other variables? For
example, in other languages (using C++ syntax):
//--
String s("my string is");
String n("long.");
int i = 99;
s += i + n;
s += i.ToString( ) + n;
s += ((string) i ) + n;
//--
You can't do that in C++? I am reading a C++ book, and I was wondering why
the author never described how to concat vars (aside from the insertion
operator)... That seems weird.
TIA,
Jeremy