home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Guide / c-cplusplus-interactive-guide.iso / c_ref / csource3 / 161_01 / 505.c < prev    next >
Encoding:
C/C++ Source or Header  |  1985-08-30  |  236 b   |  17 lines

  1. #include "timer1.h"
  2.  
  3. # define NROW 10
  4. # define NCOLUMN 10
  5.  
  6. int a[NROW][NCOLUMN];
  7. register int i, j;
  8.     
  9. DO_STMT("Two-Dimensional looping")
  10.     for (i = 0; i < NROW; i++)
  11.         for (j = 0; j < NCOLUMN; j++)
  12.             a[i][j] = 0;
  13.  
  14. OD
  15.  
  16. }
  17.