15,980
社区成员




int pos1 = strXML.Find("<Data>");
int pos2 = strXML.Find("</Data>");
int len = pos2 - pos1;
[code=c]
for(i=pos1;i<strXML.GetLength();i+len)
{
for(i=pos1;i<pos2;i++)[/code]
{
//在出现第一个<Data>与</Data>之间查找我所需要的数据,查找到一条,写进去一条道str_edit2中。
}
为何我的文件会一直写下去,存储数据的文件比源文件还大,还在不断增加。