why we use getlne instead cin.getline
After 2:25:00 in that webinar
@Nikhil-Aggarwal-2320066674901389 When we use a character array or a C type String then we use cin.getline function whose syntax you can refer in the video.
When inbuilt STL string class is used instead of character array to build a string then we use getline function whose syntax you can refer in the video.
Hope this helps
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.