switch case

General OpenMP discussion

switch case

Postby scott24 » Thu May 03, 2012 8:42 am

Is there any alternate in omp for using switch case of c++??as in can i use the same condition types as in switch(c) and add cases acc to the value of 'c'?
Thank you!
Posts: 1
Joined: Thu May 03, 2012 8:39 am

Re: switch case

Postby MarkB » Thu May 03, 2012 9:18 am

Could you be a bit more specific please (posting a code snippet might help)? OpenMP supports both C and C++, so I'm not sure what the functionality is you are missing!
Posts: 508
Joined: Thu Jan 08, 2009 10:12 am
Location: EPCC, University of Edinburgh

Return to Using OpenMP

Who is online

Users browsing this forum: Google [Bot] and 9 guests