error:','expected(got",")
c4droid吧
全部回复
仅看楼主
level 7
万维度识 楼主
上面显示错误,哪位大神可以看看到底错在哪儿,非常感谢。
2015年12月24日 01点12分 1
level 9
第91行
2015年12月24日 01点12分 2
嗯,是啊,但是具体错误在哪
2015年12月24日 01点12分
level 9
你把代码发出来
2015年12月24日 02点12分 3
void load() { struct experiment *p1=NULL,*p2=NULL;if((fp=fopen("experimentaldate","r"))==NULL) { printf("文件打开时出错\n"); exit(0); } he
2015年12月24日 02点12分
level 9
你单独发一楼
2015年12月24日 02点12分 4
发现问题了吗?
2015年12月24日 04点12分
回复 万维度识 : 。。。。原谅我碰上了你 ---贴吧极速版 For UWP
2015年12月24日 04点12分
@a398533291 什么意思?
2015年12月24日 04点12分
@万维度识 你把全部代码贴上来 要不然少很多东西 ,下次记得贴代码的时候把代码全部贴出来,要不然贴吧没人理你的
2015年12月24日 05点12分
level 7
万维度识 楼主
void load()
{
struct experiment *p1=NULL,*p2=NULL;if((fp=fopen("experimentaldate","r"))==NULL)
{
printf("文件打开时出错\n");
exit(0);
}
head=p1;
do
{
if((p1=malloc(LEN))==NULL)
{
printf("找不到可用存储空间\n");
return;
}
fread(p1,LEN,1,fp);
fseek(fp,-1,1);
p2->next=p1;
p2=p1
} while(!feof(fp));
fclose(fp);
}
2015年12月24日 02点12分 5
level 7
万维度识 楼主
求大神指点啊
2015年12月24日 02点12分 6
最后几行的p2=p1是不是缺分号
2016年10月20日 05点10分
level 7
万维度识 楼主
求指点
2015年12月24日 04点12分 8
level 7
万维度识 楼主
诚心求指点
2015年12月24日 04点12分 9
level 1
#include <stdio.h>
int main(void)
{
int product=1,i,n;
scanf("%d",&n);
for(i=1,i<=n,i++)
{
product=product*i;
}
printf("%6d\n",product);
return 0;
}大神帮我看看哪里错了😣
2016年10月19日 15点10分 10
编译器给的错误信息是啥
2016年10月20日 00点10分
for里面的逗号改成分号
2016年10月20日 05点10分
谢了,我刚学这个
2016年10月29日 11点10分
1