Archived

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

Visual Studio .Net 2003 removes iostream.h

This topic is 5178 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

Help! I run into problem when compiling lession 30 in Visual Studio.Net 2003. The error said iostream.h not found. I search MSDN and found that iostream.h is removed and replaced with new header iosteam (without .h) beginning in Visual C++ .NET 2003. However changing the include statement to won''t work. Please anyone have solution? Bonelyfish

Share this post


Link to post
Share on other sites
The c++ standart says that you must use
#include <iostream>
using namespace std;

instead of
#include <iostream.h>

You can prefix all your stl call by std, too, if you don''t want to use "using namespace"

Plotark

Share this post


Link to post
Share on other sites