wiener@stout.UCAR.EDU (Gerry Wiener) (12/01/89)
On page 223 of the c++ answer book there's a "less obvious" solution to problem 12 page 167 of the c++ programming language. This solution leaves a little bit to be desired since it suggests the following solution which ignores constructors and destructors altogether: #include <stream.h> #define main new_funct main() { cout << "Hello world\n"; } #undef main main() { cout << "Initialize\n"; new_funct(); cout << "Clean up\n"; }