#include <iostream.h>int gcount() const;
The gcount( ) function is a member of istream.
The gcount( ) function returns the number of characters read by the last input operation.
Related functions are get( ), getline( ), and read( ).