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

  1. Every program must have exactly one function main().  The name
  2. main is reserved for the first function executed in all C and C++
  3. programs.  A difference between C and C++ is that main() can have
  4. a return type other than int.  This function main() is of type
  5. void because it does not supply a return code to the operating
  6. system when it ends.
  7.