第16周阅读程序——2(1)
来源:互联网 发布:精日 知乎 编辑:程序博客网 时间:2024/05/22 04:30
/**Copyright (c) 2016,烟台大学计算机学院*All rights reserved.*文件名称 :*作 者 : 刘云*完成日期 : 2016年6月15号*版 本 号 : v6.0**问题描述 : 阅读程序*输入描述 :无*程序输出 :*/#include<iostream>#include<fstream>#include<cstdlib>using namespace std;int main(){ int a; ofstream outfile("f1.dat",ios::out); if(!outfile) { cerr<<"open error!"<<endl; exit(1); } cin>>a; outfile<<a<<endl; outfile.close(); return 0;}
0 0
- 第16周阅读程序——1(2)
- 第16周阅读程序——2(1)
- 第16周阅读程序——2(2)
- 第16周阅读程序——1(1)
- 第16周阅读程序——4(2)
- 第16周阅读程序——1(3)
- 第16周阅读程序——4(1)
- 第16周-阅读程序(2)
- 第16周阅读程序(2)
- 第16周 程序阅读(2)
- 第16周 阅读程序 ( 2)
- 第16周程序阅读(2)
- 第16周-阅读程序(1)
- 第16周阅读程序(1)
- 第16周 阅读程序 (1)
- 第16周程序阅读(1)
- 第16周程序阅读(1)
- 第2周阅读程序(1)
- android studio:ndk error:'D:\...\ndk-build.cmd'' finished with non-zero exit
- iOS开发-黑科技防止多次添加删除KVO出现的问题
- (补)第六周分数的雏形
- Material Design学习4
- 关于Android程序优化内存释放
- 第16周阅读程序——2(1)
- 第16周阅读程序——2(2)
- mysql查看触发器 删除触发器
- Drawable first 思想使用drawable
- 第16周阅读程序——3
- 十六周阅读程序2
- MYSQL查询空值/NULL值
- 动物这样叫
- leetcode 记录61-90