Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren+ 1
Difference between getline and cin?
4 Antworten
+ 2
cin will ignore the white spaces
Whereas
getline will include all the white space till new line character.
+ 1
getline more secure
+ 1
Thanks any other differences!
+ 1
Thanks!