std::fputs

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

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
doc_CPP
2016-10-11 10:02:57
Comments
Leave a Comment

Please login to continue.