August 2004
Intermediate to advanced
352 pages
7h 38m
English
Difficulty: 6
Our Orwellian look at the mysteries of sprintf concludes with a comparative analysis of snprintf, std::stringstream, std::strstream, and the nonstandard but blindingly elegant boost::lexical_cast.
For each of the following alternatives to sprintf, compare and contrast its strengths and weaknesses, using the analysis and example code from Item 2:
snprintf
Of the other choices, sprintf