cppreference.com > C++ I/O > ignore
ignore
Syntax:
  #include <fstream>
  istream& ignore( streamsize num=1, int delim=EOF );

The ignore() function is used with input streams. It reads and throws away characters until num characters have been read (where num defaults to 1) or until the character delim is read (where delim defaults to EOF).