Well, that didn't really help. There's such a thing as a "function" in C++ (
http://www.cplusplus.com/doc/tutorial/functions/ ), but considering you said you're new to C++ and you don't even know where to start, I doubt that's what you're looking for.
I would assume what you're asking for is for it to do something specific whenever the number is entered. Again, I assume that it is super basic, and you're looking for a simple cout statement to accompany the item, but you're not specifically stating what you're wanting. I'm having a difficult time trying to figure out what you want, so please state
exactly what you want to display. For example:
"If the user types 1, the program types 'Moo'. If the user types 2, the program shows 'Meow'. If the user types 3, the program ends."
Maybe it's just that it's 1:18AM, and I'm tired, but I'm still unsure of what you want so, again, please explain in detail what you want the program to do.