M
M
Max2020-04-22 22:12:02
C++ / C#
Max, 2020-04-22 22:12:02

What is a data stream and just a stream?

Please explain in simple terms what is a stream and a data stream in C? There are many designations on the Internet, but sometimes they contradict each other.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Griboks, 2020-04-22
@max10110

A stream is a sequence of commands. When a program is running on multiple threads, the instructions are executed in pseudo-parallel.
The data flow is a special abstraction that can be described as a railroad. When you write data, you send a train from one station, when you read data, you meet a train at another station. Accordingly, data streams can be combined (output to input).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question