Visual Studio .Net 2003 removes iostream.h
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
#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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement