Originally Posted by abhinay.krs
I want a code in C++ that searches for all .h files and parses it that is get function names and their return types and write them in XML format.
Then please write one. We aren't going to write your code for you, but will be more than happy to HELP you work through problems you may have. And when asking for help, you need to provide details...in this case, SAMPLES of what you are looking for, since we can't guess.
If you tried to look any of these component elements up, you'd find them. How to find a string in C++
C++ class to output XML