C++ · Files and streams

Lines and records

Most data files hold one thing per line, and you read them either a value at a time or a whole line at a time.