| Defined in header <cstdio> | ||
|---|---|---|
int puts( const char *str ); |
Writes character string str and a newline to stdout.
Parameters
| str | - | character string to be written |
Return value
Non-negative number on success or EOF otherwise.
See also
| writes a character string to a file stream (function) | |
| (C++11) | prints formatted output to stdout, a file stream or a buffer (function) |
C documentation for puts | |
Please login to continue.