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

I checked out a copy of a C++ application from SourceForge (HoboCopy, if you're curious) and tried to compile it. Visual Studio tells me that it can't find a particular header file. I found the file in the source tree, but where do I need to put it, so that it will be found when compiling? Are there special directories?


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.

In your case, add the directory that the header is in to the project properties.

Need Your Help

Accessing each hash member of array — Perl

xml arrays perl hash

I am trying to access each member of a hash I have stored in an array in Perl. I have already seen Looping through an array of hashes in Perl, and I need a better way to access them. My end result ...

How can I use jQuery to dynamically load html into an iFrame?

jquery iframe asyncfileupload

I'm working on an iframe file uploader (so my file uploader appears to be ajax). I'm trying to take the form on my page and insert it into an iframe. Then I will submit the form inside the iframe.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.