Defined in header <cstdio> | ||
---|---|---|
int fputs( const char* str, std::FILE* stream ); |
Writes given null-terminated character string to the given output stream.
Parameters
str | - | null-terminated character string to be written |
stream | - | output stream |
Return value
Non-negative integer on success, EOF
on failure.
See also
(C++11) | prints formatted output to stdout , a file stream or a buffer (function) |
writes a character string to stdout (function) | |
gets a character string from a file stream (function) | |
C documentation for fputs |
Please login to continue.