gcount

Syntax:

    streamsize istream::gcount();

The function gcount() is used with input streams, and returns the number of characters read by the last unformatted input operation.

Related Topics: get, getline, read