What does stream mean? What are its characteristics?

前端 未结 5 825
陌清茗
陌清茗 2020-12-12 18:04

C++ and C# both use the word stream to name many classes.

  • C++: iostream, ist
5条回答
  •  有刺的猬
    2020-12-12 18:20

    Official terms and explanations aside, the word stream itself was taken from the "real life" stream - instead of water, data is transferred from one place to another.

    Regarding question you asked and still wasn't ansewered, you can name your own classes in names that contain stream but only if you implement some sort of new stream it will have correct meaning.

提交回复
热议问题