home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c021 / 7.img / EXAMPLES.ZIP / INTRO17.C < prev    next >
Encoding:
C/C++ Source or Header  |  1990-05-04  |  296 b   |  18 lines

  1. /* INTRO17.C--Example from Chapter 4 of Getting Started */
  2.  
  3. #include <stdio.h>
  4.  
  5. int main()
  6. {
  7.    int ascii_val;
  8.  
  9.    for (ascii_val = 32; ascii_val < 256; ascii_val++)
  10.    {
  11.       printf("\t%c", ascii_val);
  12.       if (ascii_val % 9 == 0)
  13.          printf("\n");
  14.    }
  15.  
  16.    return 0;
  17. }
  18.