What is up with space:
char pName[255];
cin >> pName;
"Input: Word then space";
string strName = pName;
cout << strName <<endl;
"Output: Word"
So I geuss, what is the correct way to accept user input...
|
Results 1 to 5 of 5
Thread: cin >> char with a space...Threaded View
|
Click Here to Expand Forum to Full Width |