Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ switch case

switch(expr) {
  case 1:
    // do something
    break;
  case 2:
    // do something
    break;
  default:
    // do something
}
 
PREVIOUS NEXT
Tagged: #switch #case
ADD COMMENT
Topic
Name
1+1 =