I am building a string of int values, stored in a wchar_t*. If I have an integer, how can I append it onto the end of a wchar_t*? Windows only solutions are fine for this and I’d rather not include boost 🙂
I am building a string of int values, stored in a wchar_t* . If
Share
Use a wide version of stringstream and the ‘<<‘ operator. The correct operator to perform the conversion for you should be defined.
If I am missing some subtlety here you could depend on boost and use this.
I’m still a fan of secure versions of sprintf and so is Herb Sutter :D.