#include<iostream> #include<fstream> #include<string.h> using namespace std; int main(){ ifstream read,read2;read.open("111.txt"); string s1,s, s2,s3,s4;s1="E:\\brunches\\5G_ph1_19BD_2E\\3.9\\LOG1\\f_uep_uec_FCtlMain_SeqCtlStm\\"; while(getline(read,s)){ s2=s1+s; s3=s2+"\\gdb.log"; //cout<<s3<<endl; read2.open(s3.c_str(),ios::in); getline(read2,s4); getline(read2,s4); getline(read2,s4); if(s4[37]!='1'){cout<<" "<<s<<endl;read2.close();break;} else {read2.close();} } read.close(); } |
|
来自: Lukies_图书馆 > 《公选》