home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 19 / CD_ASCQ_19_010295.iso / vrac / odoors50.zip / EX_HELLO.C < prev    next >
C/C++ Source or Header  |  1994-09-24  |  729b  |  18 lines

  1. /* EX_HELLO.C - Example of a trivial OpenDoors door program. Demonstrates     */
  2. /*              just how simple a fully functional door program can be. See   */
  3. /*              manual for instructions on how to compile this program.       */
  4.  
  5.  
  6. #include "opendoor.h"                    /* Required in any OpenDoors program */
  7.  
  8.  
  9. main()
  10.    {                                                     /* Display a message */
  11.    od_printf("Hello world! This is a very simple door program.\n\r");
  12.    od_printf("Press any key to return to the BBS!\n\r");
  13.  
  14.    od_get_key(TRUE);                          /* Wait for user to press a key */
  15.  
  16.    return(0);                                  /* Exit door, returning to BBS */
  17.    }
  18.