I need help with writing a code that can count the number of functions and member functions per class! Please!

http://www.daniweb.com/forums/announcement118-2.html
Fine - make start, then post back when you're really stuck.

A generic parser for C++ would be hard work, so do you have example files which might relax the need to make a 1st class job of the parsing (say no nested classes).

Let's get the simple stuff out the way - can you open a file, read each character and then close the file?