Original Post
Hi to everyone.
How can I concatenate a string in C++ mixing with some unsigned integers as well?
What I want to do is:
string name = "blabla"
unsigned int month = 12;
unsigned int day = 18;
unsigned int year = 2004;
string filename = blabla + "\\" + day + "/" + month + "/" +
"/" + year + ".trc";
Meaning that day is converted to a string? Is there a C++ way or should I do it with a sprintf call?