gcount: It is used to return the number of characters which were read in last input operation.
streamsize gcount() const;
readsome function: It is used to read x bytes form an input stream and then it puts them in buffer.
streamsize readsome(char *buffer, streamsize x);
setstate function: It is used to set the status of a stream by flag.
void setstate(iostate flags) const;
str function: It is sued to rerun a string object. This object has the information about the current content of stream.
string str() const;
It is also used to free a string and replace a new stream referred by x.
void str(string &x)
sync_with_stdio function: It is used to synchronize C based input output to be used along with C++ I/O system.
bool sync_with_stdio(bool sync = true );
width function: It is used to find the current field width.
streamsize width() const;
It is also used to set field width.
streamsize width(streamsize x);