摘要:
1.fputs()int fputs(const char *s, FILE *stream);s 代表要输出的字符串的首地址,可以是字符数组名或字符指针变量名。stream 表示向何种流中输出,可以是标准输出流... 阅读全文
posted @ 2019-04-05 18:21
IT蓝月
阅读(97)
评论(0)
推荐(0)
摘要:
1.fputc();fputc 是 file output char 的所以,意思是向指定的文件中写入一个字符。fputc() 的用法为:int fputc ( int ch, FILE *fp );ch 为要写... 阅读全文
posted @ 2019-04-05 16:58
IT蓝月
阅读(130)
评论(0)
推荐(0)
摘要:
#includeint main(){ FILE *fp = fopen("f:\\lanyue.txt","r"); if(fp == NULL){ p... 阅读全文
posted @ 2019-04-05 16:08
IT蓝月
阅读(132)
评论(0)
推荐(0)

浙公网安备 33010602011771号