开发者

About Xml file in visual c++

I am new to xml and visual c++.Now i have to save some data from visual c++ using c++ win开发者_运维百科dows form application into xml file and read them back .Please Help.....

Thanks in Advance.


If you are using Windows Forms, you can use System::Xml to serialize your data. This is wrapped up nicely in the LocalFileSettingsProvider class which persists a class derived by ApplicationSettingsBase. In C# or VB you can just add a settings file, but the settings designer is not available in Visual C++, you need to wire up the classes manually.


Here is a library that should do the heavy lifting for you: http://www.grinninglizard.com/tinyxmldocs/index.html

If that doesn't work for you, there are MANY C++ XML libraries on the net. Google shall provide!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜