I have some code that I wanted to upgrade for a MS 2003 to MS 2005 Visual Studio
The code is quite complex but it will compile in 2005 but I have several warnings.
how do I learn the differences between using these functions, so I can substitute the new one from the deprecated version?
code copy
I don't think sprinf is really deprecated according to the C++ standard, but I'm not sure. sprint_s is a function that microsoft want you to use instead but it's non-portable and will not work on other compilers.
In C++ why not use std::ostringstream and std::string instead?
I'll look at std::ostringstream and std::string and see how much changing that would involve, this function is used over 40 times in the project in more than 1 *.cpp file.