home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / CPROG / CPTUTOR2.ZIP / ANSWERS.ARC / CH01_2.CPP < prev    next >
C/C++ Source or Header  |  1990-07-20  |  193b  |  12 lines

  1.                               // Chapter 1 - Programming exercise 2
  2. #include "iostream.h"
  3.  
  4. main()
  5. {
  6. const index = 17;
  7. volatile count;
  8.  
  9.    count = index + 12;
  10.    index = count + 3;
  11. }
  12.