Re: C/C++ File Parser

mudassir <mudassir.shabbir@xxxxxxxxx> writes:

Hi All,

I am in search of a snippet that could parse a C/C++ source file and
give out as output different information on it. For example

1. Signature of function defined in a file.
2. Name of Global Variables declared.

ctags/etags does both.

3. Files dependencies..(#include).

makedepend does that.

Of course, you may not have these on your system but they are both
available as free (i.e. GPL) source.