fputs 语法: #include <stdio.h> int fputs( const char *str, FILE *stream ); fputs()函数把str(字符串)指向的字符写到给出的输出流. 成功时返回非负值, 失败时返回EOF.