cpp:osteams

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
cpp:osteams [2020/05/17 18:16]
gthanos
cpp:osteams [2020/05/17 18:19]
gthanos [Χρήση συναρτήσεων μορφοποίησης]
Line 48: Line 48:
 int main() { int main() {
   cout.setf(std::ios::hex, std::ios::basefield);   cout.setf(std::ios::hex, std::ios::basefield);
-  cout << 16 << endl;+  cout << "0x" <<16 << endl;
 } }
 </code> </code>
cpp/osteams.txt · Last modified: 2020/05/17 18:10 (external edit)