Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

switch case in intel

BYRTYRTYRTY__TRBYTRY
155 Views

  switch (base) {

02    case 'A': case '0': return 0;

03    case 'C': case '1': return 1;

04    case 'G': case '2': return 2;

05    case 'T': case '3': return 3;

06  }

07  cerr << "error: unexpected character: '"

08       << base << "'n";

09  assert(false);

10  abort();

0 Kudos
0 Replies
Reply