In C++ it would be:

Code:
switch (Variable_to_test)
      {
         case 'choice_1':
              {
                         cout<<"Hi";
                         break;
                         }
         case 'choice_2':
              {
                         cout<<"bye";
                         break;
                         }
         case 'choice_3':
              {
                         cout<<"Hi again";
                         break;
                         }
You have to use a break if you want to leave the switch case