Jump to content
  • Advertisement


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


Visual Studio .Net 2003 removes iostream.h

This topic is 5393 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"


Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!