cpp:basic_io
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
cpp:basic_io [2017/05/03 05:16] – [std::cout] gthanos | cpp:basic_io [2017/05/03 05:20] – gthanos | ||
---|---|---|---|
Line 70: | Line 70: | ||
==== std::cerr ==== | ==== std::cerr ==== | ||
+ | |||
+ | Το //stream// **std:: | ||
+ | |||
+ | <code cpp cout.cpp> | ||
+ | #include < | ||
+ | using namespace std; | ||
+ | int main() { | ||
+ | cout << "Hello " << " | ||
+ | cerr << "My " << "error log"; | ||
+ | cout << endl; | ||
+ | } | ||
+ | </ | ||
==== std::clog ==== | ==== std::clog ==== |
cpp/basic_io.txt · Last modified: 2021/04/25 14:14 (external edit)