#include <iostream.h>istream &ignore(int num = 1, int delim = EOF);
The ignore( ) function is a member of istream.
You can use the ignore( ) member function to read and discard characters from the input stream. It reads and discards characters until either num characters have been ignored (1 by default) or until the character specified by delim is encountered (EOF by default). If the delimiting character is encountered, it is removed from the input stream. The function returns a reference to the stream.
Related functions are get( ) and getline( ).