res and tool
iterator
for (vector<string>::iterator it = originStr.begin(); it != originStr.end(); ++it)
{
tempStr = *it;
i = i + 1;
HDTHeadingFlag = tempStr.find("DT");
if (HDTHeadingFlag != -1)
{
HDTNum = i;
break;
}
}
for (vector<string>::iterator it = originStr.begin(); it != originStr.end(); ++it)
{
tempStr = *it;
i = i + 1;
HDTHeadingFlag = tempStr.find("DT");
if (HDTHeadingFlag != -1)
{
HDTNum = i;
break;
}
}