Im not sure how to approach this problem....
For my project, it uses an option based menu.
ie Press 1, enter data, get some stuff back, return to menu.
That's cool, but an 'additional' requirement is to enable the user to return to the main menu, by having no data & pressing 'enter'
ie press 1, press enter, return to menu
So my thoughts so far.
When I scanf in the input, look for an empty string. But what does the scanf string look like when the user input is 'enter' ?
I guess Im looking for any way to check if the user has pressed enter. That way I could send off the input string to a checker method and, if neccessary, return the user to the main menu