Can''t compile - Get can''t find include error

In Microsoft Visual C++ 2005 Express Edition I have two .cpp files and two .h files. When I compile it says it can't find the include files. WHY? They are sitting right there in the project!

[230 byte] By [richtx] at [2008-1-9]
# 1

Probably you are trying to include the file using "< >" notation: #include <MyFile.h>. This is suitable for system include files. For your files you have to use another form:

#include "MyFile.h"

I hope this helps.

Viorel. at 2007-10-2 > top of Msdn Tech,Visual C++,Visual C++ General...
# 2

No that doesn't help. I use the form #include "MyFile.h"

Any other ideas.

richtx at 2007-10-2 > top of Msdn Tech,Visual C++,Visual C++ General...
# 3

Do you have your .cpp files and .h files in the same directory? If you put the .h files in one directory and .cpp file another directory, the compiler will not be able to find the header file unless you add the directory to you include path.

WeidongHuang-MSFT at 2007-10-2 > top of Msdn Tech,Visual C++,Visual C++ General...