这是我的程序中的条件之一:
if(Debug)fprintf(stdout,"Direction dir %d quot %d rem %0.2f %s\n",direction,quotient, remain, cardinal[quotient]);
我已经定义了所有内容并使用过stdlib.h
,但它一直在返回
expected expression before ')' token
我在 ECLIPSE 中使用 minGW 编译器。编译如下:gcc -O0 -g3 -Wall -c -fmessage-length=0 -o wind_direction.o "..\\wind_direction.c"