As you mentioned, my code is extremely simple. The most complex code I know is writing and reading files... lol. The most recent user input before these two functions was indeed a cin >> operator. The code was: cin >> notemainselect;

However, as for the current problem, using the cin.ignore(); command to flush that lingering value left in cin did indeed solve the problem... the code now functions correctly.

Thank you for your help. I would really like to know a little more about the issue though. It would help me clean up my bad coding habbits.