求教無法執(zhí)行
這個在Microsoft visual c++里為什么不能執(zhí)行 ? ?error C2143: syntax error : missing ';' before 'type' error C2065: 'x' : undeclared identifier
這個在Microsoft visual c++里為什么不能執(zhí)行 ? ?error C2143: syntax error : missing ';' before 'type' error C2065: 'x' : undeclared identifier
2015-02-06
舉報
2015-07-18
你試試把外部的
?extern int x; ? ? ?//調(diào)用外部變量
? ? printf("x=%d\n",x);?
int x=100;
刪掉
2015-02-06
檢查代碼,看是不是有少符號,或者是其他的錯誤有時也會說是少符號,全面檢查