What IDE and compiler are you using? This code seems fine and works fine.
Type: Posts; User: TheJunkie
What IDE and compiler are you using? This code seems fine and works fine.
That is just a example. You said you want what they say to be put in the html file. So you need to make there input a string. So getline(cin, tmp) sets what they input to tmp. You could have it...
You must be talking about console program. I should assume you are using std cout and cin. So i will help with this.
If you have this kind of setup
string answer;
cout << "This is sample...