Computer Science, asked by toobaismail06, 5 hours ago

Explain the importance of function “getline” using C++ example.​

Answers

Answered by LakshmunNaidu
1

Answer:

The C++ getline() is a standard library function that is used to read a string or a line from an input stream. It is a part of the <string> header. The getline() function extracts characters from the input stream and appends it to the string object until the delimiting character is encountered.

Similar questions