I want to read an XML file into a char *buffer using C.
char *buffer
What is the best way to do this?
How should I get started?
Is reading the contents of the file into a single, simple buffer really what you want to do? XML files are generally there to be parsed, and you can do this with a library like libxml2, just to give one example (but notably, is implemented in C).