std::string Individual::toString() { XMLNode xInd; write(xInd); char *s = xInd.createXMLString(); std::string out(s); freeXMLString(s); return out; }
// We are using the DLL version of the XMLParser library. // NOTE: With visual studio .NET, you can always use the standard "free()" function: You don't // need a special "DLL free" version. void myfree(char *t){freeXMLString(t);}