2000

Grusel++ of the month

Home
Download Source
/******************************************************************************/
/*                                                                            */
/*                                                             FILE: JUNE.CPP */
/*                                                                            */
/*  Hello world implemented with an io manipulator                            */
/*  ==============================================                            */
/*                                                                            */
/*  Compiled and tested with Visual C++ V6.0                                  */
/*                                                                            */
/*  V1.00   30-JUN-2000   P. Tellenbach   http://www.heimetli.ch/             */
/*                                                                            */
/******************************************************************************/

#include <iostream>

using namespace std ;

ostream& HelloWorld( ostream& os )
{
  return( os << "Hello world !" ) ;
}

int main()
{
   return (cout << HelloWorld << endl).good() ;
}