Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Seriema

xml-streams in C++ ?

This topic is 5586 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! I saw specialized file readers/writers in a game engine once. They derived their own variations of ifstream and ofstream. Addin a few functions to give the data some control. Using blocks of { and }. Well my idea is to do a similar thing. An XML-stream, or rather a ifXMLstream and ofXMLstream (name suggestions are welcome). That would be great for the game I''m making! One thing hit me though... I can''t possible be the first one wanting to do this?.. Has anyone of you seen any xml formating streams in C++? I think Java has something for it but... Any articles or libraries made in C++? Thanx! "No lies of sugar can sweeten the sournes of reality" }+TITANIUM+{ A.K.A. DXnewbie[onMIRC]

Share this post


Link to post
Share on other sites
Advertisement
shouldn''t be very hard to make one. At least if you''re using a xml parser lib that has already been made... Then just make a stream wrapper or sumthin

Share this post


Link to post
Share on other sites
.NET makes great use of XML classes. Take a look at XMLReader, XMLWriter, XMLDocument, they are really good, even have support for XPath and of course they do both SAX and DOM.

Kind regards,
Steve

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!