Visual C++ 2003 header problem
hello, I'm using Visual studio 2003 for the first time, and I have run into a problem, when I try to include *any standard header file, it tells me that it doesn't exist, though I have fiddled with the 'precompiled header' stuff, tuning it on and off, I can't seem to solve this, here is an example:
Code:
#include <fstream.h>
int main()
{
char str[2000];
fstream file_op("test.txt",ios::in);
while(file_op >> str)
cout << str;
file_op.close();
return (0);
}
Code:
fatal error C1083: Cannot open include file: 'fstream.h': No such file or directory
Thanks in advance :)