C 文件 fputc()和fgetc() 写入文件:fputc()函数 fputc()函数用于将单个字符写入文件。它将字符输出到流。 语法: 示例 int fputc(int c, FILE *stream) 示例 #include <stdio.h> void main(){ FILE