I read about standard streams. My understanding is old fashioned programs that don’t have GUI need some kind of user interface, too. So Operating System provide each of them with a console window, and the console window’s out/input/err stream was mapped to the program’s standard input/output/error stream. And thus these programs are called console application. And this mappings couldn’t be modified by the programmer.
I am wondering, if my understanding above is correct, does GUI program have these standard streams also? I don’t think it’s necessary since GUI itself is a good user interface.
I’m quoting the bottom of the article you linked to:
Therefore from the above quotes, you can see that yes they do, although they’re rarely used.
This is incorrect – certainly on UNIX they can be – not sure about Windows. For example, you can close the standard output stream and redirect it to a file stream to get the output written to a file.