Re: can't find iostream.h...
Quote:
Originally Posted by
dtvonly
Hi. I have a very simple hello world code:
Code:
#include "iostream.h"
void main()
{
cout << "Hello world" << endl;
}
This is a simple C++ console application written in Visual Studio 2005.
fatal error: can't find "iostream.h" file.
I thought that when I first started a new project, Visual Studio 2005 had already pointed to the Visual studio folder, by default. Am I wrong? If not then (for bigger project) I would have to copy many header files to my own include folder. I should not be like that. I am correct?
What is the solution? Thank you.
Why haven't you coded as #include <iostream.h> ? are you trying to include a file?