블로그는 나의 힘!
[ Programing ]/C++2013. 11. 14. 09:08
#include <string>
#include <sstream>

int main(int argc, char **argv)
{
int iSomeint = 255;
std::ostringstream os;
os << "Hello test " << std::hex << iSomeint;
std::string buffer;
buffer = os.str();

printf(buffer.c_str());

return 0;   
Posted by Mister_Q