读取txt文件,截取关键字
void getRegisterMapTxt(string file_name){ char device_dir_c[200]; GetDevPath(device_dir_c); string device_dir_s = device_dir_c; string fileNamePath = device_dir_s+"/waste/"+ file_name; ifstream fileinput; fileinput.open(fileNamePath.c_str()