我们先看一段代码:int _tmain(int argc _TCHAR argv[]){ int nNum = 2 switch (nNum) { case 0: printf(nNum=0) break case 1: printf(nNum=1) break case 2: prin