This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
cpp:osteams [2019/05/16 06:26] gthanos |
cpp:osteams [2020/05/17 18:10] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Output Streams ====== | ||
| - | |||
| - | Όπως προαναφέρθηκε τα //streams// εισόδου χρησιμοποιούν τον τελεστη ''>>'' | ||
| - | |||
| - | <code cpp stdout.cpp> | ||
| - | #include < | ||
| - | |||
| - | using namespace std; | ||
| - | |||
| - | int main() { | ||
| - | string str(" | ||
| - | const double PI = 3.14159; | ||
| - | const int SIZE = 256; | ||
| - | | ||
| - | cout << str << " in CE325 course." | ||
| - | cout << " | ||
| - | cout << "SIZE is: " << SIZE << endl; | ||
| - | } | ||
| - | </ | ||
| - | |||
| - | ===== Formatting output streams ===== | ||
| - | |||
| - | |||