User Tools

Site Tools


cpp:basic_io

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
cpp:basic_io [2017/05/03 05:30] – [std::cout] gthanoscpp:basic_io [2017/05/03 05:32] – [std::cout] gthanos
Line 38: Line 38:
  
 <WRAP tip 80% center round> <WRAP tip 80% center round>
-Παρατηρείτε ότι αν και το //stream// ορίστηκε ως **std::cout** στο πρόγραμμα αναγράφεται ως **cout**. Ο λόγος είναι ότι +Παρατηρείτε ότι αν και το //stream// ορίστηκε ως **std::cout** στο πρόγραμμα αναγράφεται ως **cout**. Ο λόγος είναι η 2η γραμμή του προγράμματος ''using namespace std;'', η οποία δηλώνει ότι το πρόγραμμα χρησιμοποιεί το ''namespace std''.
 </WRAP> </WRAP>
  
cpp/basic_io.txt · Last modified: 2021/04/25 14:14 (external edit)