c语言要修改或者读取、更改txt的话,真的需要好好看下代码
在C语言中写文件//获取文件指针FILE *pFile = fopen("1.txt", "w"); fwrite ("hello",1,strlog("hello"), pFile);fflush(pFile); 在C语言中读文件FILE *pFile=fopen("1.txt","r");char *pBuf; fseek(pFile,0,SEEK_END); int le
原创
2016-08-22 11:52:33 ·
8391 阅读 ·
0 评论