Error message: cannot convert parameter 1 from 'std::ifstream' to 'TiXmlEncoding'
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi !
It´s possible to open an c++ filestream (ifstream) instead of an XML file, and how ?!
Normally I open the file with this code:
TiXmlDocument doc(pFilename);
bool loadOkay = doc.LoadFile();
Thank you for the help !
Greets
PS: I have tested it with:
TiXmlDocument doc;
doc.LoadFile(*pFilestream);
Error message: cannot convert parameter 1 from 'std::ifstream' to 'TiXmlEncoding'
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called