第16周阅读程序2(2)
来源:互联网 发布:python rawurlencode 编辑:程序博客网 时间:2024/06/05 22:47
/* * Copyright(c)2016,烟台大学计算机与控制工程学院 * All rights reserved. * 文件名称:第16周阅读程序2(2) * 作者:马康泰 * 完成日期:2016.6.15 * 版本号:v1.0 * * 问题描述: * 输入描述: * 程序输出: */ #include <iostream>#include <fstream>#include <cstdlib>using namespace std;int main( ){ int a; ofstream outfile("f2.dat",ios::out|ios::binary); if(!outfile) { cerr<<"open error!"<<endl; exit(1); } cin>>a; outfile.write((char*)&a, sizeof(int)); outfile.close(); return 0;}
0 0
- 第16周-阅读程序(2)
- 第16周阅读程序(2)
- 第16周 程序阅读(2)
- 第16周 阅读程序 ( 2)
- 第16周程序阅读(2)
- 第2周阅读程序(2)
- 第13周程序阅读(2)
- 第14周程序阅读(2)
- 第2周阅读程序(1)
- 第13周-程序阅读(2)
- 第11周阅读程序(2)
- 第12周-阅读程序(2)
- 第12周阅读程序(2)
- 第13周-阅读程序(2)
- 第12周阅读程序(2)
- 第14周-阅读程序(2)
- 第13周阅读程序(2)
- 第14周阅读程序(2)
- sql 存储过程基础
- 立体类族共有的抽象类
- 各种排序算法总结
- Android-x86 5.1系统源码重定制开发----------开篇《阐明》
- Android Res资源适配详解
- 第16周阅读程序2(2)
- mysql优化笔记
- redis数据淘汰策略
- WPF 虚拟化面板
- ORTP移植到Hi3518e,h.264封包rtp发送
- STM32 UVC学习笔记2
- 排序函数
- QQ第三方登录
- java serializable 序列化