Hi,
I want to implement in my MFC application project this logic, which written in C# looks like:
XmlSerializer ser = new XmlSerializer(typeof(A_CLASS));
StringBuilder sb = new StringBuilder();
XmlWriterSettings sett = new XmlWriterSettings();
sett.Indent = true;
sett.IndentChars = "\t";
using (XmlWriter sw = XmlWriter.Create(sb, sett)) { ser.Serialize(sw, A_CLASS_Instance); }
Can someone tell me how to write it in C++?