Re: [Dev-C++] Cannot compile using Dev-C++ 5.0 beta 7 (4.9.7.0) (10 MB) with Min
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ioannis V. <no...@ho...> - 2003-02-16 13:26:47
|
iostream.h is not proper C++. After the official ANSI/ISO C++ standard
ratification, standard library header files have no .h extension except o=
f
the C subset. Everything is defined in namespace std. Example:=0D
=0D
#include <iostream>=0D
=0D
int main()=0D
{=0D
std::cout<<"Hello new world!\n";=0D
=0D
return 0;=0D
}=0D
=0D
The C subset header files also exist in the form <cxxxx>, e.g. <cstdlib> =
and
everything in them is also defined in namespace std. Example:=0D
=0D
#include <iostream>=0D
#include <cstdlib>=0D
=0D
int main()=0D
{=0D
using namespace std;=0D
=0D
cout<<"Hello new world!\n";=0D
=0D
system("pause");=0D
=0D
return 0;=0D
}=0D
=0D
=0D
A slow thorough read of an up to date C++ book will have much to offer.=0D
=0D
=0D
Ioannis Vranos=0D
=0D
* Programming pages: http://www.noicys.freeurl.com=0D
* Alternative URL: http://run.to/noicys =0D
=0D
-------Original Message-------=0D
=0D
From: Martin Clausen=0D
Date: =CA=F5=F1=E9=E1=EA=DE, 16 =D6=E5=E2=F1=EF=F5=DC=F1=E9=EF=F2 2003 12=
:22:31 =EC=EC=0D
To: dev...@li...=0D
Subject: Re: [Dev-C++] Cannot compile using Dev-C++ 5.0 beta 7 (4.9.7.0) =
(10
MB) with Min=0D
=0D
Hi again,=0D
=0D
Thanks for input Robson. The only iostream.h file in all directories unde=
r =0D
Dev-Cpp is in C:\Dev-Cpp\include\c++\backward.=0D
=0D
I swear I haven't touched a single thing :-) - just installed and run out=
of
=0D
the box. How do I get the compiler to find the iostream.h file ? and all =
the
=0D
other legacy files ? or is there somthing more fundametally wrong with my=
=0D
setup ? do you have iostream.h located somewhere else ?=0D
=0D
Just so I don't waste anybodys time, the problem only arises when I used =
the
=0D
latest version with Mingw/GCC 3.2 - with Mingw/GCC 2.95.3 everything work=
s =0D
fine.=0D
=0D
Martin=0D
=0D
=0D
_________________________________________________________________=0D
Find din ferie p=E5 MSN Rejser http://www.msn.dk/rejser=0D
=0D
=0D
=0D
-------------------------------------------------------=0D
This sf.net email is sponsored by:ThinkGeek=0D
Welcome to geek heaven.=0D
http://thinkgeek.com/sf=0D
_______________________________________________=0D
Dev-cpp-users mailing list=0D
Dev...@li...=0D
TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm=0D
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users=20 |