主题:各位大神····这个程序的流程图怎么画啊····
void save()
{
FILE *fp1;
FILE *fp2;
time_t it;
int k;
fp1=fopen("gupiaoxingxi.txt","w");
fp2=fopen("xingxi.txt","w");
for(k=0;k<10;k++)
{
fprintf(fp1,"%s %s %.3lf %.0lf %.0lf %.01f %.01f\n",gphz[k].gpdm,gphz[k].guming,gphz[k].gpjg,gphz[k].change,gphz[k].kejiaoyi,gphz[k].chiyouliang,gphz[k].yingyu);
}
for(k=0;k<10;k++)
{
fprintf(fp2,"%s %s %.3lf %.0lf %.0lf %.01f %.01f\n",gphz[k].gpdm,gphz[k].guming,gphz[k].gpjg,gphz[k].change,gphz[k].kejiaoyi,gphz[k].chiyouliang,gphz[k].yingyu);
}
fclose(fp1);
}
保存文件的流程图
{
FILE *fp1;
FILE *fp2;
time_t it;
int k;
fp1=fopen("gupiaoxingxi.txt","w");
fp2=fopen("xingxi.txt","w");
for(k=0;k<10;k++)
{
fprintf(fp1,"%s %s %.3lf %.0lf %.0lf %.01f %.01f\n",gphz[k].gpdm,gphz[k].guming,gphz[k].gpjg,gphz[k].change,gphz[k].kejiaoyi,gphz[k].chiyouliang,gphz[k].yingyu);
}
for(k=0;k<10;k++)
{
fprintf(fp2,"%s %s %.3lf %.0lf %.0lf %.01f %.01f\n",gphz[k].gpdm,gphz[k].guming,gphz[k].gpjg,gphz[k].change,gphz[k].kejiaoyi,gphz[k].chiyouliang,gphz[k].yingyu);
}
fclose(fp1);
}
保存文件的流程图