Where does Visual Studio look for C++ Header files?

Visual Studio looks for headers in this order

  • in the current source directory
  • in the Additional Include Directories in the project properties. (Under C++ | General)
  • in the Visual Studio C++ Include directories under Tools | Options | Projects and Solutions | VC++ Directories.
原文地址:https://www.cnblogs.com/vicsmb/p/2332664.html