std::puts

From Cppreference

< cpp | io | c
Jump to: navigation, search
Defined in header <cstdio>

int puts( char *str );

Writes character string str and a newline to stdout

[edit] Parameters

str - character string to be written

[edit] Return value

non-negative number on success or EOF otherwise

[edit] See also

fputs
writes a character string to a file stream
(function)
printf
fprintf
sprintf
snprintf



(C++11)
prints formatted output to stdout, a file stream or a buffer
(function)