home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c081_11 / 9.ddi / TFEXMPL.ZIP / PTOLL.C < prev    next >
Encoding:
C/C++ Source or Header  |  1991-02-13  |  563 b   |  30 lines

  1. /* Copyright (c) 1990, Borland International */
  2. #include <stdio.h>
  3. #include <dos.h>   /* contains prototype for delay() */
  4.  
  5. main()
  6. {
  7.     printf("Entering main\n");
  8.     route66();
  9.     printf("Back in main\n");
  10.     delay(1000);
  11.     highway80();
  12.     printf("Back in main\n");
  13.     delay(1000);
  14.     printf("Leaving main\n\n");
  15. }
  16.  
  17. route66()
  18. {
  19.     printf("Entering Route 66\n");
  20.     delay(2000);
  21.     printf("Leaving  Route 66\n");
  22. }
  23.  
  24. highway80()
  25. {
  26.     printf("Entering Highway 80\n");
  27.     delay(2000);
  28.     printf("Leaving Highway 80\n");
  29. }
  30.