请问:能具体解释什么是流吗?
请问:能具体解释什么是流吗?
楼主mywangqian007(阿太)2002-11-07 12:51:52 在 C++ Builder / 基础类 提问请问:能具体解释什么是流吗? 问题点数:30、回复次数:3Top
1 楼mywangqian007(阿太)回复于 2002-11-07 13:11:15 得分 0
怎么无人回答?!Top
2 楼gengxp(芹菜)回复于 2002-11-07 14:27:12 得分 10
Like C, C++ does not have built-in input/output capability. All C++ compilers, however, come bundled with a systematic, object-oriented I/O package, known as the iostream classes. The “stream” is the central concept of the iostream classes. You can think of a stream object as a “smart file” that acts as a source and destination for bytes. A stream’s characteristics are determined by its class and by customized insertion and extraction operators.
Through device drivers, the disk operating system deals with the keyboard, screen, printer, and communication ports as extended files. The iostream classes interact with these extended files. Built-in classes support reading from and writing to memory with syntax identical to that for disk I/O, which makes it easy to derive stream classes.
Top
3 楼dahuzizyd(你就是我心中的女神)回复于 2002-11-07 14:37:32 得分 20
流是一种存储组件及其有关属性值的信息的方式。组件的特征之一就是必须能进行流操作,Top
-
相关文章
2秒记住本站域名
玩过泡泡龙吗?Readygo?Go! 再加上.Com.Cn的后缀,那就是大名小顶的readygo.com.cn
