Advertisement

Visual Studio .Net 2003 removes iostream.h

Started by October 12, 2003 01:52 PM
1 comment, last by Bonelyfish 21 years, 4 months ago
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
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
Advertisement
Thanks a lot. I replaced all reference to #include <iosteam.h> in the tutorial and it works now. 8)

Bonelyfish

This topic is closed to new replies.

Advertisement