explain - switch statments, please

Aug 2, 2011 at 3:10pm
I have read about them, beginning to understand them I think :L

However seeing a few different explanations should help.

I would like to monitor my progress, for motivation and all :L

No programming experience before other than very limited Bash on ubuntu.

I feel I have a command of;

Comments

basic functions - calling, declaring, defining, variables, global variables, function parameters, returns, defaults, parameters, overloading, in lines functions.

operations - statements, operators, pre-post, fix operators, precedence, relational operators, IF and ELSE, logical operators.

variables and constants - types, assignment, enumerated constants

and I am learning about looping, which is truly hell on earth xD

Spent about 15-19 hours over the last to days on this, how well am i doing?

Totally unanswerable I know, but for my poor brains sake, give it a go.


Thanks

sorry so long.

tom
Aug 2, 2011 at 3:24pm
http://www.cplusplus.com/doc/tutorial/control/#switch
I don't know if I can tell you something that is not written there..
Aug 2, 2011 at 3:26pm
the title tells you all. switch statments
Aug 2, 2011 at 3:41pm
closed account (1vRz3TCk)
Go and read the link that hamsterman posted, it explains the switch expression well. If you still have questions after, you can then ask them with a frame of reference that we can all see (i.e. that link).
Last edited on Aug 2, 2011 at 3:41pm
Topic archived. No new replies allowed.