home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / Borland / Cplus45 / BC45 / TPROFEXM.PAK / PTOLL.C < prev    next >
C/C++ Source or Header  |  1995-08-29  |  636b  |  30 lines

  1. /* Copyright (c) 1990, 1992, Borland International */
  2. #include <stdio.h>
  3. #include <dos.h>   /* contains prototype for delay() */
  4. void route66(void); void highway80(void);
  5. void main(void)
  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. void route66(void)
  18. {
  19.     printf("Entering Route 66\n");
  20.     delay(2000);
  21.     printf("Leaving  Route 66\n");
  22. }
  23.  
  24. void highway80(void)
  25. {
  26.     printf("Entering Highway 80\n");
  27.     delay(2000);
  28.     printf("Leaving Highway 80\n");
  29. }
  30.