istream::gcount

int gcount() const;

Remarks

Returns the number of characters extracted by the last unformatted input function. Formatted extraction operators may call unformatted input functions and thus reset this number.

istream OverviewInput Stream Classes

See Also   istream::get, istream::getline, istream::ignore, istream::read