home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / sampcode / c / other / learn / for2.c < prev    next >
Encoding:
C/C++ Source or Header  |  1988-10-07  |  198 b   |  11 lines

  1. /* FOR2.C: Demonstrate variations on for loop. */
  2.  
  3. #include <stdio.h>
  4. #include <conio.h>
  5.  
  6. main()
  7. {
  8.    for( printf( "Type something\n" ); getche() != '\r'; )
  9.       ; /* Null statement */
  10. }
  11.