I am trying to ignore values from an input file. I used the command

cin.ignore()

nut when I go to try the program I have to keep pushing enter and the message shows up one letter at a time, and it still isn't ignoring the value.