Archived

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

Bonelyfish

Visual Studio .Net 2003 removes iostream.h

Recommended Posts

Bonelyfish    122
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
plotark    122
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