C++ 编程/代码/标准 C 库/函数/fputs
外观
The Wikibooks community is developing a policy on the use of generative AI. Please review the draft policy and provide feedback on its talk page.
语法 |
#include <cstdio>
int fputs( const char *str, FILE *stream );
|
fputs() 函数将由 str 指向的字符数组写入给定的输出流。成功时返回值为非负数,失败时返回值为EOF。