1.向文本文件输出数据的函数:
fputc()函数和fputs()函数
int fputc(int ch, FILE* stream); //向文件写入一个字符
int fputs(const char* str, FILE* stream); //向文件写入一个字符串