哪里错了?两个警告
#include<stdio.h>#include<math.h>
main()
{
FILE *p;
float s=0,t=1,i=2;
while(fabs(t)>=1e-6)
{
s+=t;
t=-t/(i-1)/i;
i+=2;
}
p=fopen("d:\result\121100120\Paper\Design.dat","w");
fprintf(p,"%.6f",s);
fclose(p);
}
2012-03-07 09:14
2012-03-07 09:22
2012-03-07 09:23
2012-03-07 09:27
2012-03-07 09:30
2012-03-07 09:30
2012-03-07 09:33
2012-03-07 09:36
2012-03-19 23:27