tools.cpp
author Markus Bröker <mbroeker@largo.homelinux.org>
Sat, 13 Dec 2008 15:45:18 +0100
changeset 0 826dd5531eb0
permissions -rw-r--r--
svn copy of qmonitor

/*
 *  $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 ();
}