Hi, this should be a simple question, but I'm having a bit or a nightmare.
I'm trying to append a string with a number:
Now, the first attempt is obviously to just append the number, but this appends the character with the ascii code of the number - which is really annoying.Code:typedef basic_string<TCHAR> tstring; tstring strThis = "My String"; strThis += ??;
What is the way to do this, as I dont want to have to add 48 to everything!
Thanks in advance.
HD




Reply With Quote