prog.cpp: In function ‘void TTT()’:
prog.cpp:3:5: error: ‘tinyxml2’ has not been declared
tinyxml2::XMLDocument docXml;
^~~~~~~~
prog.cpp:4:5: error: ‘XMLError’ was not declared in this scope
XMLError errXml = docXml.LoadFile("../oldData.xml");
^~~~~~~~
prog.cpp:5:9: error: ‘XML_SUCCESS’ was not declared in this scope
if (XML_SUCCESS == errXml){
^~~~~~~~~~~
prog.cpp:5:24: error: ‘errXml’ was not declared in this scope
if (XML_SUCCESS == errXml){
^~~~~~
prog.cpp:6:9: error: ‘XMLElement’ was not declared in this scope
XMLElement* elmtRoot = docXml.RootElement();
^~~~~~~~~~
prog.cpp:6:21: error: ‘elmtRoot’ was not declared in this scope
XMLElement* elmtRoot = docXml.RootElement();
^~~~~~~~
prog.cpp:6:32: error: ‘docXml’ was not declared in this scope
XMLElement* elmtRoot = docXml.RootElement();
^~~~~~
prog.cpp:7:21: error: ‘elmtStaff’ was not declared in this scope
XMLElement *elmtStaff = elmtRoot->FirstChildElement("Staff");
^~~~~~~~~
prog.cpp:8:21: error: ‘elmtName’ was not declared in this scope
XMLElement *elmtName = elmtStaff->FirstChildElement("Name");
^~~~~~~~
prog.cpp:12:35: error: ‘printf’ was not declared in this scope
printf( "%s", pContent);
^
prog.cpp:15:21: error: ‘elmtID’ was not declared in this scope
XMLElement *elmtID = elmtName->NextSiblingElement("ID");
^~~~~~
prog.cpp:19:35: error: ‘printf’ was not declared in this scope
printf( "%s", pContent);
^
prog.cpp:21:21: error: ‘elmtDepartment’ was not declared in this scope
XMLElement *elmtDepartment = elmtID->NextSiblingElement("Department");
^~~~~~~~~~~~~~
prog.cpp:25:35: error: ‘printf’ was not declared in this scope
printf( "%s", pContent);
^
prog.cpp:27:21: error: ‘elmtSalary’ was not declared in this scope
XMLElement *elmtSalary = elmtDepartment->NextSiblingElement("Salary");
^~~~~~~~~~
prog.cpp:31:35: error: ‘printf’ was not declared in this scope
printf( "%s", pContent);
^
prog.cpp:33:21: error: ‘elmtAge’ was not declared in this scope
XMLElement *elmtAge = elmtName->NextSiblingElement();
^~~~~~~
prog.cpp:37:35: error: ‘printf’ was not declared in this scope
printf( "%s", pContent);
^