home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_300 / 395_01 / typing / source / tt.c < prev   
Encoding:
C/C++ Source or Header  |  1993-11-19  |  535 b   |  31 lines

  1. /* #ident "@(#)tt.c - a typing tutor." */
  2.  
  3. /*
  4.  * Note: No #include <stdio.h> as it is within curses.h!
  5.  */
  6.  
  7. #include <curses.h>
  8. #include "tt.h"
  9.  
  10. /*
  11.  * The global variables.
  12.  *
  13.  * if you add others or change anything, dont forget to ensure
  14.  * you make EXACTLY the same changes in the "externals.h file.
  15.  */
  16.  
  17. char file_name[FILE_NAME_SIZE], *ipbuffer, *ipbp;
  18. FILE *lesson;
  19. WINDOW *top_window, *middle_window, *bottom_window, *current_window;
  20.  
  21. main()
  22. {
  23.   init();
  24.   do_lesson ();
  25.   clear ();
  26.   refresh ();
  27.   endwin ();
  28.   exit ( OK );
  29.   }
  30.  
  31.