c語言動靜態存儲
c語言動靜態存儲
為什么我程序在這里寫的可以執行,搬到自己的vc++6.0里就不行了?
顯示錯誤是這兩行error C2143: syntax error : missing ';' before 'type' ? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ?error C2065: 'x' : undeclared identifier
c語言動靜態存儲
為什么我程序在這里寫的可以執行,搬到自己的vc++6.0里就不行了?
顯示錯誤是這兩行error C2143: syntax error : missing ';' before 'type' ? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ?error C2065: 'x' : undeclared identifier
2017-08-29
舉報
2017-08-29
http://blog.csdn.net/lcr_happy/article/details/52467693
其實上網搜一下,就有答案了。這兩個就是編譯器問題,檢查一下有沒有中文輸入法輸入的字符,聲明位置換一下。