Re: [Dev-C++] Compiling problems with 4.9.7.0 and GCC 3.2
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ioannis V. <no...@ho...> - 2003-01-16 06:53:11
|
------Original Message-------=0D
=0D
From: Dany P. Wu=0D
Date: Thursday, 16 January 2003 7:38:20 AM=0D
To: dev...@li...=0D
Subject: [Dev-C++] Compiling problems with 4.9.7.0 and GCC 3.2=0D
=0D
Hi everyone,=0D
=0D
This problem has probably come up for discussion numerous times before.=0D
It's certainly puzzled me to no end, being a learner at this whole C++=0D
business.=0D
=0D
I figured, by looking in the include directory, that I should use=0D
iostream instead of iostream.h=0D
=0D
That much seemed obvious but when I typed this typical beginner's code:=0D
=0D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D
#include <iostream>=0D
=0D
main()=0D
=0D
=3D=3D> int main()=0D
=0D
{=0D
=3D=3D>std::cout << "Hello world!";=0D
return(0);=0D
}=0D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D
=0D
I got some humangous amount of errors, 70 I think. I apologise for the=0D
length of this log but I thought I better include it for the sake of=0D
completion. You guys probably know this already.=0D
=0D
The question is, where have I gone wrong? What's happening here? Any=0D
help would be immensely appreciated.=0D
=0D
=0D
=0D
Ioannis Vranos=0D
=0D
* Programming pages: http://www.noicys.freeurl.com=0D
* Alternative URL: http://run.to/noicys=20
|