that did the trick!! thanks! just so i can understand what's goin on there, what does that line do exactly? what is feof(stdin) and getchar? thanks!
Type: Posts; User: dblack87
that did the trick!! thanks! just so i can understand what's goin on there, what does that line do exactly? what is feof(stdin) and getchar? thanks!
when i compile and run this code and intentionally give a bad menuItem, it seems to go into an infinite printing loop and never prompts the user for a new menuItem? basically the same problem as what...
HELP! This is my first c program so i apologize if the technique is poor. My basic problem is that when the user inputs an invalid integer for the menu which is then processed by the function...