是否含有中文
char buf[CHAR_SIZE];
memset(buf,0,CHAR_SIZE);
for (int i=0;i<s.size();i++)
{
buf[i]=s.at(i);
if (buf[i]&0x80)
{
return true;
}
}
return false;
ifstream ins(path.c_str());
string line;
string tagN,tagH;
while (getline(ins,line))
{
istringstream iss(line);
iss>>tagN>>tagH;
}