C++ – Switch Statement
Working samples:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ...
switch (expression)
{
case constant1:
group-of-statements-1;
break ;
case constant2:
group-of-statements-2;
break ;
.
.
.
default :
default -group-of-statements
}
...
|
Copyright notice: any total or partial reproduction of the content is forbidden without previous authorisation by the Author. Copyright ©2013-2025, all rights reserved.
Share This Story, Choose Your Platform!
Hi! I am Andrea Tonin, I am the CEO of "Luce Digitale". I can develop for you Videogames, Web Sites, 3D Hi Res Animations. Contact Me for a Free Quote!
My LinkedIn: http://www.linkedin.com/pub/andrea-tonin/50/632/396