Just a quick question, I have a program I am making which uses source code which was written by someone else (legitimately I might add) anyhow it has the following:
Error 1 error C1083: Cannot open include file: 'fstream.h': No such file or directory
2 IntelliSense: cannot open source file "strings.h": Bad file descriptor
3 IntelliSense: cannot open source file "iostream.h"
...
Actually that list goes on for a while with every datatype it uses from them generating an error.
Well i have also encountered the same problem in visual studio 2005
when i have given the header file #include<iostream.h>
Error 1 fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory c:\documents and settings\ssharm04\my documents\visual studio 2005\projects\c++_general\c++_general\stdafx.h 15
So try giving #include<iostream> in stdafx.h
and in the source file use the namespace std,if you are using and std functions.
Hope it might helps.
PS:
I dont know the reason, but if anyone knows , please let me know.Thanks in advance.