tools.cpp
changeset 0 826dd5531eb0
equal deleted inserted replaced
-1:000000000000 0:826dd5531eb0
       
     1 /*
       
     2  *  $Id: tools.cpp 54 2008-01-10 00:24:52Z mbroeker $
       
     3  * $URL: http://localhost/svn/cpp/qMonitor/trunk/tools.cpp $
       
     4  */
       
     5 
       
     6 #include <tools.h>
       
     7 
       
     8 std::string itoa (const int &i)
       
     9 {
       
    10     std::stringstream o;
       
    11 
       
    12     if (!(o << i))
       
    13         return "ERROR";
       
    14     return o.str ();
       
    15 }