I wonder if it is possible and how to implement in C++ crossplatform, (C99, C++0x independent ) snprintf? Is there such in boost? (I wonder about what is the C++ idiom to replace snprintf(4)?)
I wonder if it is possible and how to implement in C++ crossplatform, (C99,
Share
std::ostringstreamwould be an alterntive to usingsnprintf:Equivalent:
There is also boost::lexical_cast: