Code: Select all
createIrrXMLReader(char* filename);
Let's have a closer look at createIrrXMLReader function:
Code: Select all
IrrXMLReader* createIrrXMLReader(const char* filename)
{
return new CXMLReaderImpl<char, IXMLBase>(new CFileReadCallBack(filename));
}
Code: Select all
IrrXMLReader* createIrrXMLReader(const char* filename)
{
FILE* file;
file = fopen(filename, "rb");
if(!file)
return NULL;
else
return new CXMLReaderImpl<char, IXMLBase>(new CFileReadCallBack(filename));
}
Geez, sorry for my poor english ;[