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?
I believe that question was about XML parsing and not about file reading, however OP should really clarify this. Any way you got plenty example how to read file. Another option to xml parsing in additional to sgm suggestion will be Expat library