![]() |
CITS2002 Systems Programming |
← prev | next → | ![]() |
![]() |
|||
Standard cin and cout I/O streamsSimilar to C11's use of its standard I/O header file and library functions, C++ employs its iostream header and functions.A little confusingly, it is possible to mix C11 and C++ I/O in the same programs, but it's not always safe to mix them in the same statement.
In particular, many programmers moving from C11 to C++ prefer C11's printf() family of functions, over C++'s use of appending strings to a file-stream:
CITS2002 Systems Programming, Lecture 23, p2, 17th October 2023.
|