解决方案
40
fp = fopen("G:\ExpQuery", "r");
vector<vector<int> > query_list;
while(1) {
vector<int> aarr;
int a;
while(1){
fscanf(fp,"%d",&a);
aarr.push_back(a);
if(feof(fp)) break;
if(fgetc(fp)=="\n") break;
}
query_list.push_back(aarr);
if(feof(fp)) break;
}
fclose(fp);