What does 'stream' mean in C?

后端 未结 6 2014
无人及你
无人及你 2021-02-15 23:40

I\'m reading a section in \'C Primer Plus\' which deals with files, streams and keyboard input. The author connects the concept of stream with files and defines stream as follow

6条回答
  •  余生分开走
    2021-02-16 00:28

    A stream is a logical entity that represents a file or device, that can accept input or output. All input and output functions in standard C, operate on data streams. Streams can be divided into text, streams and binary streams.

提交回复
热议问题