home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / progm / tc-book.zip / FASTTEST.C < prev    next >
Text File  |  1987-08-20  |  411b  |  22 lines

  1. /* ------------ fasttest.c ------------ */
  2.  
  3. #include <stdio.h>
  4. #include "twindow.h"
  5.  
  6. void fasttest()
  7. {
  8.     int row, col;
  9.  
  10.     for (row = 0, col = 0; col < 15; row += 3, col++)    {
  11.         establish_window(row, col, 10, 30);
  12.         set_colors(NULL, ALL, RED, YELLOW, BRIGHT);
  13.         display_window(NULL);
  14.         wprintf(NULL,"\n\n\n   Hello, Dolly # %d", col);
  15.     }
  16.     get_char();
  17.     while (col--)
  18.         delete_window(NULL);
  19. }
  20.  
  21.  
  22.