Ask Your Question
-1

Switch-Case Structure

asked 2013-08-14 08:42:25 -0500

AndyStevens gravatar image

updated 2017-08-25 14:46:11 -0500

is there any other way to call int a, int b and int c simultaneously? not by switch it but together at the same time.

int a = 10; int b = 10; int c = 20;

switch ( a ) { case b: // Code break; case c: // Code break; default: // Code break; }

edit retag flag offensive close merge delete

Comments

I don't want to be rude, but this is now your second, absolutely not opencv-related question! This is a Q&A forum for OpenCV, not for coding in general.

Guanta gravatar imageGuanta ( 2013-08-14 08:47:59 -0500 )edit

i'm sorry.

AndyStevens gravatar imageAndyStevens ( 2013-08-14 08:57:22 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-08-14 08:48:12 -0500

No, there is not.

spam: My first reaction... "WT... " .... here is not c/c++ forum, there are other forums for that kind of questions....

edit flag offensive delete link more

Comments

i'm sorry, i just confused . sorry

AndyStevens gravatar imageAndyStevens ( 2013-08-14 08:58:12 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-08-14 08:42:25 -0500

Seen: 655 times

Last updated: Aug 14 '13