Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Utility.cpp

Go to the documentation of this file.
00001 #include <string>
00002 #include <sstream>
00003 #include <stdio.h>
00004 namespace rwil {
00005   std::string IntToString(int input)
00006   {
00007     char buf[20];
00008     sprintf(buf,"%u", input);
00009     return std::string(buf);
00010   }
00011   int StringToInt(std::string input)
00012   {
00013     return atoi(input.c_str());
00014   }
00015 }

Generated on Tue Apr 9 13:53:08 2002 for RWIL - Real World Interface Library by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001