I recently migrated from one to the other. A statement like
int map_w = root->IntAttribute("width");
would work in TinyXml, but my program is crashing on this line now that I've switched the library.
Does anyone here use TinyXml-2? If so, what am I doing wrong?
Last edited on
Have you actually tried this exact code on the exact same file with tinyxml (non v2)? You could have a correct syntax for this line but something else around that causes the problem
I haven't, but I've been using TinyXml for over a year now. I'm sure this code would work.
There are also some changes TinyXml-2 has made. For instance:
TiXmlDocument has been replaced with