FYI - I ended up using this to get the menu input i_menu_choice = getchar() - '0'; Works like a charm now...