7.c: In function ‘main’: 7.c:14:1: error: expected ‘;’ before ‘for’ for(int i=0;!feof(chazhao);i++) ^ 7.c:24:1: error: expected declaration or statement at end of input } ^
1、chazhao=fopen这一行最后加分号;
2、最后一个}前加一句,return 0;
回到顶部