CXMLString::CXMLString (string content, string tag)
{
ostringstream convert;
string result;
result << "<" << tag << ">" << content << "</" << tag << ">";
cout << result;
}
这是我卡住的任务!!!
通过连接先前创建的元素来创建多行元素。
string structure = "\n\t" + myXMLString1 + "\n\t" + myXMLString2+"\n";
CXMLString myXMLString3(structure,"structure");
Konnen sie helfen bitte!!!!