data.clear(); data.push_back(word); infile.clear(); count=2;
if(count%13) //改为14后图以贴出 { data.push_back(word); count=count+1; } else{ data.push_back(word); cout<<data[12]<<endl;//想输出最后一项却老是报错出界。 data.clear(); infile.clear(); count=1; }