I wrote a menu program quite some time ago to prove a point to my computing teacher (something to do with being able to make a menu on a non-object oriented system; please don't ask me why he believed this, I think it was just that he didn't like me being right :P)
The code is shown in the form of a tutorial (you can view the whole code at the end...I hope), but I didn't put it in a tutorial forum because I didn't feel that it was good enough, or something. It's not a very interesting tut...just shows you how easy it is to create a menu.
The tutorial is at the following address: http://ezranet.no-ip.org/menutut.html
If you can't access that, tell me and I'll post the ip instead. I sometimes seem to have troubles with my hostname.