第十六周实践项目-阅读程序(4)

问题及代码:

/*
 *Copyright(c)2016,烟台大学计算机与控制工程学院
 *All right reserved.
 *文件名称:77.cpp
 *作    者:董凯琦
 *完成日期:2016年6月14日
 *版 本 号:v1.0
 *
 *问题描述:

 *输入描述:
 *程序输出:
 */
#include 
#include 
#include 
using namespace std;
int main( )
{
    int a;
    ofstream outfile("f1.dat",ios::out);
    if(!outfile)
    {
        cerr<<"open error!"<>a;
    outfile<
第十六周实践项目-阅读程序(4)_第1张图片 第十六周实践项目-阅读程序(4)_第2张图片

你可能感兴趣的:(第十六周实践项目-阅读程序(4))