Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

INT34-C. Use intmax_t for signed integer types or uintmax_t for unsigned integer types where the underlying type is unknown

When you copy this rule over to the C++ side:

FIO34-C. Use int to capture the return value of character IO functions

Be sure to add something about istream::get() which return int values, not char values.