< cpp‎ | io‎ | c
Defined in header <cstdio>
int puts( const 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

writes a character string to a file stream
prints formatted output to stdout, a file stream or a buffer
C documentation for puts