How to include header files in Visual Studio 2008?

Posted by Sergio on Stack Overflow See other posts from Stack Overflow or by Sergio
Published on 2011-01-15T21:39:37Z Indexed on 2011/01/15 21:53 UTC
Read the original article Hit count: 220

Filed under:
|
|

I am currently trying to compile a simple program that includes two header files. I see them in the Solution Explorer, where I included them through "include existing files". However, when I run my program it get the following error. fatal error C1083: Cannot open include file: 'FileWrite.h': No such file or directory. THe problem is that I see the file included in the Header's folder and in the code I have written:

#include "FileWrite.h"

and then the rest of the program code. Is there something else needed to do so that the compiler can see the header file and link it to the .cpp file I'm trying to compile?

© Stack Overflow or respective owner

Related posts about c++

Related posts about visual