home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
CPROG
/
DESQC21.ZIP
/
DESQLOOP.C
< prev
next >
Wrap
Text File
|
1989-07-06
|
1KB
|
27 lines
/*==========================================================================*\
| DESQLOOP.C ver 2.1, 07-06-89 |
| |
| 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 <stdio.h>
#include <conio.h>
int i=0;
main()
{
#ifdef __TURBOC__
directvideo=0;
#endif
while (!kbhit()) printf( "i = %d\n", i++ );
while (kbhit()) getch(); /* clear kbd buffer */
return;
}