How To Ask Questions The Smart Way
Use getline(cin,s) if you want to read a WHOLE line.
But be careful when you start mixing cin >> var; with the getline method.
Type: Posts; User: Salem
How To Ask Questions The Smart Way
Use getline(cin,s) if you want to read a WHOLE line.
But be careful when you start mixing cin >> var; with the getline method.