+ 1
What's the difference between getline and cin?
Don't they perform the same function? To get user's input and store the value in specified variable.
1 Respuesta
+ 1
cin read from standard input stream while getting read from any input stream
Don't they perform the same function? To get user's input and store the value in specified variable.