关于文件读写我想从一个文件中读取若干个整数,以便排序,能不能用数组的形式接受所读内容?[解决办法]
FILE *stream;stream = fopen( "fscanf.out", "w+" );int a[100]={0};for(int i=0;i<100 && !stream.eof();i++) fscanf(stream, "%d", &a[i])flcose(stream);