title: Skipping text while reading files in C++
body: <p>I'm learning C++, and I'm doing work with data loaded from external text files using <code>cin</code>.</p>
  <p>I'm trying to recognize certain strings in large amounts of data that I need to skip through.</p>
  <p>How would I write a function that skips through a certain number of characters in a file / on a line, either as I'm importing them from a file? Does such a thing already exist in iostream or similar?</p>
  <p>Google has let me down so far.</p>