What wrong with this code?
#include
#include
using namespace std;
int main()
{
string a = ":)";
string b = "John";
int c = 2;
string d;
stringstream str;
str << a << " Hello " << b << " bye " << c;
d = str.str();
printf("%d",d);
getchar();
return 0;
}