回复 29楼 TonyDeng
Building 2.2.1.obj.C:\Users\Administrator\Documents\Pelles C Projects\2.2.2\2.2.1.c(17): warning #2234: Argument 2 to 'scanf' does not match the format string; expected 'long int *' but found 'double *'.
C:\Users\Administrator\Documents\Pelles C Projects\2.2.2\2.2.1.c(19): warning #2234: Argument 2 to 'scanf' does not match the format string; expected 'long int *' but found 'double *'.
C:\Users\Administrator\Documents\Pelles C Projects\2.2.2\2.2.1.c(24): warning #2234: Argument 2 to 'scanf' does not match the format string; expected 'long int *' but found 'double *'.
C:\Users\Administrator\Documents\Pelles C Projects\2.2.2\2.2.1.c(26): warning #2234: Argument 2 to 'scanf' does not match the format string; expected 'long int *' but found 'double *'.
C:\Users\Administrator\Documents\Pelles C Projects\2.2.2\2.2.1.c(32): error #2001: Syntax error: expected ';' but found 'printf'.
C:\Users\Administrator\Documents\Pelles C Projects\2.2.2\2.2.1.c(32): error #2168: Operands of '%' have incompatible types 'double' and 'long int'.
C:\Users\Administrator\Documents\Pelles C Projects\2.2.2\2.2.1.c(32): warning #2234: Argument 2 to 'printf' does not match the format string; expected 'int' but found 'double'.
C:\Users\Administrator\Documents\Pelles C Projects\2.2.2\2.2.1.c(34): error #2001: Syntax error: expected '}' but found 'end of input'.
*** Error code: 1 ***
Done.
刚才忘了,太激动了