finding all the functions and total number of lines in that function.

Hi,
I want a C++ program which will take a input as another C++ program and have to findout all the methods in that program and have to count the no. of lines in that function. Output should be like this

file name method Name Total number of Lines
test.cpp void classA::get() 10


if any one know how to write this program plz help me.

Thanks in advance...
Topic archived. No new replies allowed.