<<< Overloaded operator << | Index | >>> |
C++ program is a set of:
variable definitions and
functions
Finally, another look at Hello, world! program:
#include <iostream> int main() { // Statement using operator notation: std::cout << "Hello, World!"; // Statement using function call: operator<<( std::cout, "Hello, World!" ); return 0; }
<<< Overloaded operator << | Index | >>> |