LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-01-2004, 12:11 PM   #1
tucolino
LQ Newbie
 
Registered: May 2003
Posts: 18

Rep: Reputation: 0
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
 
Old 01-01-2004, 05:08 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,683

Rep: Reputation: 219Reputation: 219Reputation: 219
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
failed dependency vijaysh Debian 1 12-26-2004 04:18 AM
how to solve failed dependency when dependency exists dwcramer Linux - Newbie 2 08-24-2004 10:03 PM
Dependency hell !!! lub0 Linux - Software 5 09-26-2003 09:17 AM
dependency kashyaplalit Linux - General 1 03-29-2003 10:30 AM
Dependency: Help! source Linux - Newbie 1 03-17-2003 11:42 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration