• Advertisement

Archived

This topic is now archived and is closed to further replies.

Lesson 30

This topic is 4992 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I downloaded the .NET version of Lesson 30. When I build it I''m getting the error... “Cannot open include file: ‘iostream.h’: No such file or directory” I checked and iostream.h isn''t on my system. Did Microsoft ditch iostream? Does anyone know what gives? Thanks

Share this post


Link to post
Share on other sites
Advertisement
Try just "iostream". the .h is deprecated, though I''m surprised you don''t have it for backwards-compatibility.

Share this post


Link to post
Share on other sites
Ok, in Tvector.h I changed the include to be
#include <iostream>
instead of
#include <iostream.h>
but I get a host of other errors.
I''m running XP Pro with .NET 2003. Any ideas anyone?
Thanks

Share this post


Link to post
Share on other sites
Ok, then Lesson 30 will probably work under the first .NET but not 2003? Looks like they''d kept something for backwards compatibility...

Share this post


Link to post
Share on other sites
Like I mentioned before...using
#include <iostream> instead of #include <iostream.h> in Tvector.h gives me a host of other errors.

Share this post


Link to post
Share on other sites
I use VS.NET 2003 and have no problem with iostream, just FYI. It''s in there. I''d check the namespace too.

Share this post


Link to post
Share on other sites
I go out to NeHe's site...go to Lesson 30, download the Visual Studio .NET Code for the lesson. I open it in .NET 2003 and I get a message stating that .NET wants to convert to the formats used by this version of Studio .NET. I convert it. I compile and I get the Fatal error...Cannot open include file: 'iostream.h'.
I'm not sure if I'm in std namspace or not. I know that I use my installation of .NET for other c# projects and all works fine.

Share this post


Link to post
Share on other sites

  • Advertisement