+ 1
How to add space to cin with this code
help guys I want this code to work https://code.sololearn.com/c3N56fj1tsRL/?ref=app
3 odpowiedzi
+ 3
Try getline
string a;
getline(cin, a);
if(a=="how are you")
cout<<"good";
+ 3
Ani Jona 🕊 thank you so much👍🏻
0
std::cout<<" "; or you can use manipulators