How to use switch statemenys

How could you use switch statements to ask a question like - "Would you like to go [r]ight, [l]eft, or [c]ontinue?" Im trying to make a game and i think that a switch statement would be more efficient than if, and if else statements...
Use google/Youtube? Already millions of examples of what youre asking out there.
Fair enough ^
closed account (E0p9LyTq)
Statements and flow control (include switch statements)
http://www.cplusplus.com/doc/tutorial/control/
Topic archived. No new replies allowed.