Cin not allowing input

When I use the second cin, the command line just sits there with the blinking cursor and doesn't allow any typing, if I put a getchar(); after the first cin, it works. package is a char, and month is a string.

1
2
3
4
5
cout << "Choose package A, B, or C: ";
cin >> package;
getchar();
cout << "What month is it (all lower case): ";
getline(cin, month);
why no just say cin >> month?
I should have specified that I already tried that, that's what originally didn't work, though that does work when I have the getchar(); in there.
Topic archived. No new replies allowed.