Aspects


vs


Getline

A C function that reads an entire line from a stream

Istream

In C++ std::istream is the base class for input streams.

Others

Quality Example
Safer

"Note the use of std getline is safer and more convenient than std istream getline"

from question "How to read this logs text file in C++"

Back to Home
Data comes from Stack Exchange with CC-BY-SA-3.0