return 0代表函數結束,main函數結束,程序就退出了。 +getchar()函數,等待鍵盤輸入(若敲回車,則讀取鍵盤輸入,return 0) 有cin時,不要getchar或+兩個getchar,若只有一個getchar,cin輸入敲回車時,getchar讀取輸入會立即return 0。