c - Getting included header file path in VC++ -
Environment: I am using MS-VC ++ 6.0,
- I A group of header files with some data
- The header file often changes, so on every change I change the path settings and the compiler again
- A log file is generated based on the header file < Li>
-
Question 1: < / Strong> Is it possible to have header file paths inside the program?
- Question 2: I am using VC ++, but if it is possible in GCC, then I can easily port, therefore Please tell me, if it is possible in any other environment such as GCC
To find the header file from the log file, I want to print the header file path inside the log
VC In the ++, with the option / FC
, the complete path of the current processed file will be placed in the __ file __
in the compilation. Macro.
A change in the inclusion of the path that will be the account for you.
Comments
Post a Comment