Versions Compared

Key

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

Errors can occur when assumptions are made about the type of data being read. These assumptions may be violated, for example, when binary data has been read from a file instead of text from a user's terminal (see FIO14-AC. Understand the difference between text mode and binary mode with file streams). On some systems it may also be possible to input a null byte (as well as other binary codes) from the keyboard.

...