io:gcount

C++ Reference

gcount

Syntax:

    #include <fstream>
    streamsize 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