for console.readkey() it said that i needed to include something.
and neither cin.ignore() or getchar() worked.
instead of pausing to wait for a key to be pressed it just kept going.
The problem is that that leaves junk in the input buffer. (A newline to be exact) You'll need to remove it before you can pause the console with std::cin.ignore();.