string hello;
cin>>hello;
sprintf(buf, "This server has been contacted time%s\n", hello);
I'm making a simple client-server program. I just want to know how do I get to print out the hello string inside the sprintf() >.< soz might be a very dumb question....
The error i keep getting is "can't pass objects of non-POD type"