TIP4.C 518 B

12345678910111213141516171819
  1. #include "opendoor.h"
  2. #include "cmdline.h"
  3. int main(int argc, char *argv[])
  4. {
  5. /* Set function to be called if no door information file is found. */
  6. od_control.od_no_file_func = NoDoorFileHandler;
  7. /* Call command-line processing function before first call to any */
  8. /* OpenDoors function! */
  9. ParseStandardCommandLine(argc, argv);
  10. /* Proceed with door normally. */
  11. od_printf("Hello World!\n\r\n\r");
  12. od_printf("Press [Enter] to return to BBS.\n\r");
  13. od_get_answer("\n\r");
  14. return(0);
  15. }