title: c++ switch statement: group cases and give particular instruction for each case
body: <p>Consider the following code:</p>
  
  <pre><code>int main()
  {
      const int a = 9;
      switch (a)
      {
      case 9:
          // since a is 9, this ("good") should be printed
          std::cout &lt;&lt; " good " &lt;&lt; std::endl;
  
      case 4:
          // since a is not 4, this ("bad") should not be printed
          std::cout &lt;&lt; " bad " &lt;&lt; std::endl;
  
          // for both a==9 or a==4, this should be printed
          {
              std::cout &lt;&lt; " always print me " &lt;&lt; std::endl;
              break;
          }
      }
  }
  </code></pre>
  
  <p>The result should then be: </p>
  
  <pre><code>good
  always print me
  </code></pre>
  
  <p>However this is not working. It there a way to do that in C++? Thanks!</p>