witchcase

#include "stdafx.h"
#include
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
int b=1;
switch (b+2){
case 1 : { cout<<"b="<<b<<endl;}
case 3 : { cout<<"b="<<b<<endl;}
case 9 : { cout<<"b="<<b<<endl;}
}
while(1);
return 0;
}
原文地址:https://www.cnblogs.com/tangjunjun/p/11676618.html