Please refer line 11 and 12, I’m confused when to use cin and when to use getline.
To elaborate, I don’t understand that logic of input buffer due to which we use getline/cin.
Request you to please help me out.
Please refer line 11 and 12, I’m confused when to use cin and when to use getline.
To elaborate, I don’t understand that logic of input buffer due to which we use getline/cin.
Request you to please help me out.
Hey @gambhirrahul0
Thanks for the clarification. I’m closing the doubt.
If you have any other doubt, you can ask.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.