Source of hello3.cpp


  1: //hello3.cpp
  2: //Display a greeting.
  3: //Explicitly qualify each item from namespace std,
  4: //and there is thus no need for a using directive
  5: //or any using declarations.
  6: //This is an extreme approach, but is nevertheless
  7: //recommended by some developers.

  9: #include <iostream>

 11: int main()
 12: {
 13:     std::cout << "\nHello, world!";
 14:     std::cout << "\nHow are you?\n" << std::endl;
 15: }