Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- #include <vector>
- #include <fstream>
- #include "tinyxml2.h"
- using namespace std;
- using namespace tinyxml2;
- int main(int argc, const char* argv[]) {
- XMLDocument doc;
- doc.LoadFile( "ConfigurationFile.xml" );
- const char* title = doc.FirstChildElement( "ConfigurationFile" )->FirstChildElement( "delayInSeconds" )->GetText();
- printf( "Name of play (1): %s\n", title );
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement