冲刺第五天
今天是11.19日,
我们进行了第五次站立会议,
会议地点是三栋420宿舍,
会议时间为早上七点半。
会议的主要内容:
1.我们学习了一下相关的C语言知识,临时抱佛脚。
2.我编写了一部分代码,用来实现记录功能。
3.我的队友检测了一下我编写的代码,运行了一下。
会议结束。
下面是我编写的代码:
int j;
ofstream outfile;
outfile.open("f1.txt",ios::out);
if(!outfile)
{
outfile.close();
cout<<"文件打开错误!......按任意键返回";
getchar();
}
else
{
for(j=0;j<DQ_num&&stu[j].num!=0;j++)
outfile<<stu[j].name<<" "
<<stu[j].num<<" "
<<stu[j].yuwen<<" "
<<stu[j].shuxue<<" "
<<stu[j].yinyu<<" "
<<stu[j].average<<" "
<<stu[j].all<<" ";
cout<<"存入成功";
}

浙公网安备 33010602011771号