Command Prompt for Windows




printf, wprintf, _tprintf

int printf(const char *fmt, ...);
int wprintf(const wchar_t *fmt, ...);
int _tprintf(const TCHAR *fmt, ...);

printf() provides formatted output and functions similar to the standard run time library printf().

Comments

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

printf() will only display printable characters.

See Also

puts, putx, putch, putchar, textcolor, scanf, gets

Example

Consider the following :-

	printf("Hello, world\nHow are you?");

will display the following :-

Hello, world
How are you?