Command Prompt for Windows




puts, _putws, _putts

void puts(const char *str);
void _putws(const wchar_t *str);
void _putts(const TCHAR *str);

Display a character string str along with a CR-LF character combination.

Parameter Description
str Address of a NULL terminated character string.

Returns

There is no return value.

Comments

Function puts(), _putws() and _putts() is streamable, that is, when stdout is redirected on the command line to a file, the character string will be written to the file.

Tab characters are padded with space characters.

See Also

printf, putx, putchar, putch, gets