Difference between revisions of "User:Janos"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
Six P principle: Proper planning prevents piss-poor performance | Six P principle: Proper planning prevents piss-poor performance | ||
| + | |||
| + | == Boost tips and tricks == | ||
| + | cast something to a string | ||
| + | |||
| + | <code> | ||
| + | <nowiki>#</nowiki>include "boost/lexical_cast.hpp" | ||
| + | |||
| + | int i = 10<br> | ||
| + | std::string layer = boost::lexical_cast<std::string>(i);<br> | ||
| + | </code> | ||
Latest revision as of 13:50, 30 June 2006
Six P principle: Proper planning prevents piss-poor performance
Boost tips and tricks
cast something to a string
#include "boost/lexical_cast.hpp"
int i = 10
std::string layer = boost::lexical_cast<std::string>(i);