![]() |
|
#1
|
|||
|
|||
Is there a way to view #include dependancy?Hi all,
I'd like to know if there is a way in MSVC (6 or dot net) or if there exist a tool to recusively displays which files include which header files... It must exist somewhere right, it's such a useful feature though easy to implement... Thanks a lot, LaVache |
|
#2
|
||||
|
||||
|
Quote:
Open the C-file in question and as you read look for the include lines. If found, recurse passing that file name in and continue. Be sure to keep track of header guards too. MS is not careful about it's headers so you could recurse into oblivion. My program did. __________________
Cow: You're a lawyer too? Mooseblood (mosquito): Ma'am, I was already a bloodsucking parasite. All I needed was a briefcase! |
|
#3
|
||||
|
||||
|
Quote:
There is a program that finds module dependecies: http://www.dependencywalker.com/ Not sure if it's suited for your job though, as I've never used it. Regards, Luci __________________
Please read these Guidelines before posting on the forum "A person who never made a mistake never tried anything new." Einstein |
Recent GIDBlog
Flickr uploads of IA pictures by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What include file should I have? | LaVache | C Programming Language | 2 | 23-Aug-2004 13:54 |
| Including Maps and strings?? | maddie | C++ Forum | 17 | 05-Jul-2004 06:25 |
| Cross include | BlueTeeth | C++ Forum | 3 | 24-Mar-2004 20:37 |
| I can not view my private messages and my signature...is this normal? | metamorph | GIDForums™ | 3 | 26-Feb-2004 04:41 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The