changeset 0 | 826dd5531eb0 |
new file mode 100644 --- /dev/null +++ b/tools.cpp @@ -0,0 +1,15 @@ +/* + * $Id: tools.cpp 54 2008-01-10 00:24:52Z mbroeker $ + * $URL: http://localhost/svn/cpp/qMonitor/trunk/tools.cpp $ + */ + +#include <tools.h> + +std::string itoa (const int &i) +{ + std::stringstream o; + + if (!(o << i)) + return "ERROR"; + return o.str (); +}