全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Stream, standard streams?

又称: stream · standard streams

Definition 6.8 University Computer Science — Year 1 · 第 6 章 — Strings, Structures and Files

A stream is the C library’s access to a file or a device: a FILE * returned by fopen, through which the program reads or writes bytes in order, the library collecting them in a buffer and passing them to the system in large blocks. Three standard streams are open when main starts: stdin (standard input), stdout (standard output) and stderr (standard error, for messages, not fully buffered).

在原文中阅读 →