What does it mean to write to stdout in C?

后端 未结 6 1298
慢半拍i
慢半拍i 2020-12-13 23:35

Does a program that writes to \"stdout\" write to a file? the screen? I don\'t understand what it means to write to stdout.

6条回答
  •  甜味超标
    2020-12-14 00:09

    stdout is the standard output file stream. Obviously, it's first and default pointer to output is the screen, however you can point it to a file as desired!

    Please read:

    http://www.cplusplus.com/reference/cstdio/stdout/

    C++ is very similar to C however, object oriented.

提交回复
热议问题