home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH02 / A02121.TXT < prev    next >
Encoding:
Text File  |  1993-11-16  |  257 b   |  5 lines

  1. A declaration introduces an object and its identifier, or name,
  2. into a program.  Here we declare variable x to be an integer,
  3. reserve memory for its value, and initialize it to 42.  As in ANSI
  4. C, you must declare an object in C++ before you can use it.
  5.