home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h> // for prototypes ( printf... )
- #include "win32con.h" // for WIN32sCON_AutoFinish
-
- int main( int argc, char *argv[], char *env[] )
- {
- // the following line will close the console emulation automatically
- // after the program finishes:
- WIN32sCON_AutoFinish = 1;
-
- printf( "test06.cpp:\n" );
- printf("This program will finish and close the console-emulation.\n" );
- return( 0 );
- }