ok now i have main() calling a menu() when menu() [which contains a fancy switch] gets back an error return (in this case if it gets back '10') i need the main function to...... i guess restart...... how would i go about doing this? i can figure 3 ways, a goto (which im told is a REALLY bas idea), system("program") (this would jam up ram tho wouldnt it? and its kinda bad cause i cant rename the binary) and calling the main function again (i think its recursion)..... this last one is what i setteled on for now but i know that theres gotta be a better way cause then it would just hog tons and tons of ram wouldnt it? if it kept getting return codes of 10?

also, how to i tell the input to only accept one character input..... like i press a number then it continues its routine without me having to hit enter?