How to read a line with Spaces in c++ ?You need to add cin.clear() and cin.ignore() before using another getline () or cin . Thanks MiiNiiP...
User Input in italicsliuyang Exactly so. How can I resolve this?
User Input in italicsHow can I program it in C++? int main() { string h; cout << "Enter a sentence"; getline(cin, h); co...
User Input in italicsHello! I am a beginner in C++.The program I want to create is as follows. The program will take ...
This user does not accept Private Messages