/*==========================================================================*\ | DESQLOOP.C ver 2.0, 12-03-88 | | | | Idle loop for a DESQview window | | | | Run this in DESQview windows 1 and 2 before running DESQDEMO.C or | | DESQQWIK.C. This simply gives other window(s) something to do | | visually so that you can see them stop during the critical test. | | | \*==========================================================================*/ #include #include int i=0; main() { directvideo=0; while (!kbhit()) printf( "i = %d\n", i++ ); while (kbhit()) getch(); /* clear kbd buffer */ return; }