2004

Grusel++ of the month

Home
Download Source
/******************************************************************************/
/*                                                                            */
/*                                                         FILE: february.cpp */
/*                                                                            */
/*  The last words of a C++ program                                           */
/*  ===============================                                           */
/*                                                                            */
/*  Compiled and tested with Visual C++ 6.0                                   */
/*                                                                            */
/*  V1.00   29-FEB-2004   P. Tellenbach   https://www.heimetli.ch/            */
/*                                                                            */
/******************************************************************************/

#include <iostream>
#include <cstdlib>

using namespace std ;

void lastword()
{
   cout << "Hello world !" << endl ;
}

int main()
{
   return atexit( lastword ) ;
}

Update 29. February 2024

This program compiles and runs without any changes.