数据结构中应用txt输入咋写,就是例如file=fopen(“***.txt”);然后fscanf(file,"%d",s);的
采用cFILE *fid;int s;fid = fopen("test.txt");fscanf(fid, "%d", &s);