> From: dev...@li...=20
> [mailto:dev...@li...]
> On Behalf Of School
> Sent: Monday, March 24, 2003 2:11 AM
> To: dev...@li...
> Subject: [Dev-C++] DevC++ & XP
>=20
>=20
> Help.
>=20
> Starting Tuesday, I'm teaching an introductory
> course in C++.=20
> I recently
> upgraded to WinXP Pro and now I can't compile
> code.
>=20
> The error message is "iostream.h: No such file or
> directory."
>=20
> I have set the Directories in the Compiler Options
> and=20
> Project Options to
> the correct locations. I've completed the updates
> with Microsoft.
>=20
> What else can I try?
I had the same problem. In my case, the solution of
the problem was simple: the path of Dev-C++ was changed.
I typed the corret paths and the iostream error message
in the same hello world program disapeared and the
compilation terminated ok.
Just to remember, to check the paths is:
Options, Compiler Options, page directory, and
check if the paths filled there are ok.
Concerning the <iostream.h> notation, I think you used
the default program that appears to us automatically as
soon as we initialize a new C++ Console source file, right?
If you did this, you used a default source code that comes
typed in Options, Environment Options, Misc. It comes this
way. But the correct, if you intend to write a C++ code, is
<iostream> and <cstdlib>
Andre
|