Command Prompt for Windows


int scanf(const char *fmt, ...);

scanf() provides formatted input and functions the same as the standard run time library scanf().


For a full description of scanf() consult your standard run time library reference manual.

There is no wide or TCHAR version of scanf(). Avoid using this function when possible.

See Also

gets, getch, getchar, printf