1)fatal error C1004: unexpected end of file found
Error executing cl.exe.
這種問題經常遇到,主要是{ }沒有配對引起
2)在用到swith……case的時候出現以下問題
error C2046: illegal case
解決:swith後面加上{ }
3)return EXIT_SUCCESS;和return EXIT_FAILURE;是包含在##include<stdlib.h>裏面的
不加的話報錯爲rror C2065: 'EXIT_FAILURE' : undeclared identifier