stdin, stderr und stderr <-> std::cout, std::cin und std::cerr



  • Ich beiss mich gerade durch das Buch "THE UNIX PROGRAMMING ENVIRONMENT", von den Unix- und c-Erfindern.
    Dort wird gesagt

    When a program is started, three files are open already, and file pointers are provided for them. These files are the standard input, the standard output and the standard error output; the corresponding file pointers are called stdin,stdout and stderr, from the type FILE*

    In C++ muessten die Aequivalente ja std:cout, std::cin und std::cerr sein.
    Ist das so korrekt? Gibt es noch mehr? ........ std::clog?


Anmelden zum Antworten