Reputation: 1
I installed VS2012 today and started learning C++.
I wrote a Hello World program with #include <iostream.h>
.
On build I get the error; C1083: Can not open include file...
I believe this is an include path problem.
I tried editing the Include Directories in the VC++ Property Page but nothing I try works. Currently the include directories path has :
$(VCInstallDir)include
$(VCInstallDir)atlmfc\include
$(WindowsSDK_IncludePath)
Any thoughts on how to fix?
Upvotes: 0
Views: 289
Reputation: 14510
For standard c++ headers you must not put the .h
so :
#include <iostream.h>
should become :
#include <iostream>
After that, if you are beginning with cplusplus, here is a link with the standard library headers (and articles about c++). It is a great help to have this website : http://www.cplusplus.com/reference/
Upvotes: 0