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