hi... i want to ask how to run this tinyxml...
i tried tutorial at tinyxml tutorial... but i got error message and i don't know why...
here's the code...
void dump_to_stdout(const char* pFilename)
bool loadOkay = doc.LoadFile();
dump_to_stdout( &doc ); // defined later in the tutorial
printf("Failed to load file \"%s\"\n", pFilename);
and the error (at dump_to_stdout( &doc ); // defined later in the tutorial) is :
cannot convert `TiXmlDocument*' to `const char*' for argument `1' to `void dump_to_stdout(const char*)'
is there anything wrong? (beside my bad english... :D)
You must define dump_to_stdout(TiXmlDocument*) before calling it in your file. Or define it in another place(include file examplecode.h where it already defined)
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.