2000

Grusel++ of the month

Home
Download Source
/******************************************************************************/
/*                                                                            */
/*                                                         FILE: november.cpp */
/*                                                                            */
/*  The STL way to print "Hello world !"                                      */
/*  ====================================                                      */
/*                                                                            */
/*  Compiled and tested with Visual C++ V6.0                                  */
/*                                                                            */
/*  V1.00   22-NOV-2000   P. Tellenbach   http://www.heimetli.ch/             */
/*                                                                            */
/******************************************************************************/

#include <iostream>
#include <iterator>

std::ostream_iterator< char * > hello( std::cout, " world !\n" ) ;

int main( )
{
   return &( hello = "Hello" ) == 0 ;
}