Ah, see my link above.
I was just laughing because a lot of C and C++ textbooks really
do use system("pause"), and a lot of college professors do to. It is a shame, really.
Your compiler is the GCC, MinGW version, albeit an older version. You are fine with that until you start getting into some more advanced/modern stuff. Dev-C++ is reportedly a nice beginner solution. (I've never used it personally.)
But if you want something different, you might check out
Code::
Blocks, which is a really nice cross-platform IDE for multiple languages. Looky looky what I just googled:
http://www.cprogramming.com/code_blocks/
Follow the instructions to it set up using a recent version of MinGW.
To answer your original question more fully, what
istream::
ignore() does is just skip input until either
- a specific character is encountered
- a specific number of characters have been examined
It could have been named something like "skip" or "get_until" or somesuch.
Hope this helps.