home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH05 / A05093.TXT < prev    next >
Encoding:
Text File  |  1993-11-23  |  509 b   |  9 lines

  1. You can use the plus operator to find the sum of two integers.
  2. Plus also works for floating point numbers, which is remarkable
  3. because floating point arithmetic, internally, is very different
  4. from integer arithmetic.  Like plus, most built-in operators have
  5. more than one function, in that they perform differently when
  6. applied to different types.  However, all built-in operators are
  7. not defined for all data types.  For example, multiplying
  8. characters, or subscripting an integer is a syntax error.
  9.