saving . . . saved Getline has been deleted. Getline has been hidden .
Getline
Title
Question
can we use cin.get() instead of getline

C-and-Cpp Strings 08-09 min 10-20 sec 29-02-20, 3:07 p.m. pradipghorpade

Answers:

The two are not equivalent.  getline waits until a particular delimiter like newline in the input stream.
29-02-20, 4:19 p.m. bhaskar76


Log-in to answer to this question.