Standard Input and Output Streams

This lesson explains standard input and output streams in general. Then we will see how character streams are used for input and output purposes. Finally, we will explore the usage of input and output streams in D language

What are standard input and output streams? #

So far, the output of our programs has been displayed on the console. Although the console is often the ultimate target of output, this is not always the case. The objects that can accept the output of a program are called standard output streams. Similarly, the standard input stream comes into play when some input is taken from the user and used by the program. ...