结构体成员不能赋值
											float x;...
...
gets(sc);
printf("%s",sc);
x=atof(sc);
printf("x=%f",x);
data[size].score=x;printf("score=%f",data[size].score);
我输入了76,输出结果x=76.00000score=0.00000
哪位朋友能为我解释一下为什么data[size].score没有得到76的值。谢谢
 2018-01-07 12:29
	    2018-01-07 12:29
   2018-01-07 12:45
	    2018-01-07 12:45
   2018-01-07 12:47
	    2018-01-07 12:47
   2018-01-07 12:55
	    2018-01-07 12:55
   2018-01-07 12:56
	    2018-01-07 12:56
   2018-01-07 13:03
	    2018-01-07 13:03