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>

    To find the header file from the log file, I want to print the header file path inside the log

  • 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

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

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -