#include <boost/lexical_cast.hpp>
using boost::lexical_cast;
#include <iostream>
using namespace std;
int main()
{
//int to string
string sInt = lexical_cast<string>(123);
//double to string
string sDou = lexical_cast<string>(123.123);
cout<<sInt<<endl;
cout<<sDou<<endl;
}