LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   c++ dependency (https://www.linuxquestions.org/questions/programming-9/c-dependency-130561/)

tucolino 01-01-2004 11:11 AM

c++ dependency
 
for all c++ coders out there...

i need to write a program that determines dependencies between c++ source files. Besides parsing and scanning for "#includes" and "::'s" what else would do? I need to parse and find ALL calling dependencies (ie. function calls). How would yo go about it to try to encompass all of them (if possible)?

btw, I am most definitely not asking anyone to write code for me. I would like to hear your approaches and sugestions regarding such a problem. What patterns should I look for? Thank you.

Tuco

Mara 01-01-2004 04:08 PM

Well, you probably need to also look for methods, classes, variables and so on. In such case you'd need to parse the whole C++ source files to find all references to them.


All times are GMT -5. The time now is 10:19 PM.