c语言,用1.exe读取1.txt
c语言,用1.exe读取1.txt
日期:2018-05-04 15:02:06 人气:1
代码1.c
#include#define F_PATH "d:\\1.txt"int main(){ char szTest[1000] = { 0 }; int len = 0; FILE *fp = fopen(F_PATH, "r"); if (NULL == fp) { printf("failed to open dos.txt\n"); return 1; } while (!feof(fp)) { m