Input Fields for scanf functions

From RAD Studio
Jump to: navigation, search

Go Up to scanf, wscanf

In a ...scanf function, any one of the following is an input field:

  • All characters up to (but not including) the next whitespace character.
  • All characters up to the first one that cannot be converted under the current format specifier (such as an 8 or 9 under octal format).
  • Up to n characters, where n is the specified field width.

See Also