I made the changes you said brewbuck
Code:
#include <string>
#include <otherNeededheader(s)>
using std::string;
using std::cout;
using std::cin or endl or what other crap you see here; //not exact ;-)
...
string s1;
string s2;
string s3;
cout<<"Please enter something: " <<endl;
getline(cin, s1);
cout<<"Please enter something else: "<<endl;
getline(cin, s2);
cout<<"Please enter something else: "<<endl;
getline(cin, s3);
cout<<"Something else!!!"<<endl;
cout<< "s1: " << s1 <<endl;
cout<< "s2: " << s2 <<endl;
cout<< "s3: " << s3 <<endl;
but the output looks and works exactly the same :-(
Code:
Please enter something:
Please enter something else: why does user input STILL start here???
Please enter something else: wtf??? wtf???
Something else!!!
s1:
s2: why does user input STILL start here???
s3: wtf??? wtf???
any other ideas?