I've programmed in
VB, Fortran and various other robot and industrial control languages, so I thought it was something to do with the '\n' because if I would put the cin.getline() before the cin >> it stopped to get input to the cin.getline(). You're right, the text should talk about cin.ignore(). I don't think I would've ever found that on my own.
Thanks so much for your help.