为什么叫ifstream和ofstream
来源:互联网 发布:视频编辑软件pr 编辑:程序博客网 时间:2024/06/10 08:55
iftream是读文件,而用的“i”,是in的意思,明明是进入的意思,怎么和读取有关系呢?
oftream是读文件,而用的“o”,是out的意思,明明是出去的意思,怎么和写入有关系呢?
反正我是很费解。
其实是我们没有想对例子。
in是说,由硬盘 “进入” 内存,这个进入是读取的过程,所以叫做in
out是说,“移出”内存到硬盘,这是个写到硬盘的过程,所以叫做out
0 0
- 为什么叫ifstream和ofstream
- ifstream 和 ofstream
- ofstream和ifstream
- ofstream 和 ifstream 用法
- C++ ofstream和ifstream
- C++ ofstream和ifstream
- 【c++】ofstream和ifstream
- ofstream和ifstream详细用法
- ofstream和ifstream详细用法
- ofstream和ifstream详细用法
- ofstream和ifstream详细用法
- ofstream和ifstream详细用法
- ofstream和ifstream详细用法
- ofstream和ifstream详细用法
- ifstream和ofstream详细用法
- ofstream和ifstream详细用法
- ofstream和ifstream详细用法
- ofstream和ifstream详细用法
- 个人简历psd
- Raysoft.Framework.Config.ConfigHelper
- 沙盒机制和文件(三)
- Cocos2d-x版本升级
- 三位数乘两位数的笔算说课稿
- 为什么叫ifstream和ofstream
- oracle RAC无备份情况恢复ocr和olr
- 面试那点事
- [GoLang]GO语言编写的简易TCP服务端、客户端
- UIStepper
- C 语言程序设计 例子-素数
- 在FFMPEG中使用libRTMP的经验
- Eclipse学习系列 -- TCP/IP Monitor(转)
- 自动类型提升