跳转到内容

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.

C++ 编程/代码/标准 C 库/函数/fputs

来自,自由的教科书

fputs

[编辑 | 编辑源代码]
语法
#include <cstdio>
int fputs( const char *str, FILE *stream );

fputs() 函数将由 str 指向的字符数组写入给定的输出流。成功时返回值为非负数,失败时返回值为EOF

相关主题
fgets - fprintf - fscanf - gets - getc - puts
取自 "https://wikibooks.cn/w/index.php?title=C%2B%2B_Programming/Code/Standard_C_Library/Functions/fputs&oldid=3676488"
华夏公益教科书