Displaying the #include hierarchy for a C++ file in Visual Studio
There is a setting:
Project Settings -> Configuration Properties -> C/C++ -> Advanced -> Show Includes
that will generate the tree. It maps to the compiler switch /showIncludes
Show #include hierarchy in C++Builder
Sadly, there are no Borland C Compiler options for displaying the hierarchy of #include
d files. See Embarcadero's BCC32 CLI docs.
However, an alternative (granted, not as clean) is to use the Borland C Compiler Preprocessor, e.g.
CPP32 -Sr source.cpp # outputs source.i with comments and indentation retained
Related Topics
Boolean Expression (Grammar) Parser in C++
What Is the Type of Lambda When Deduced With "Auto" in C++11
C++ Openmp Parallel For Loop - Alternatives to Std::Vector
How Does Array[100] = {0} Set the Entire Array to 0
Win32 API to Enumerate Dll Export Functions
How to Call Erase With a Reverse Iterator
I Don't Want My Excel Add-In to Return an Array (Instead I Need a Udf to Change Other Cells)
How Does C++ Linking Work in Practice
Defining Static Const Integer Members in Class Definition
Error Lnk2019: Unresolved External Symbol _Winmain@16 Referenced in Function _Tmaincrtstartup
Why Is Std::Map Implemented as a Red-Black Tree
Unresolved External Symbol _Imp_Fprintf and _Imp_Iob_Func, Sdl2
What How to Use Instead of the Arrow Operator, '-≫'
How Does the Capacity of Std::Vector Grow Automatically? What Is the Rate