Re: [Dev-C++] re+ Public Domain C++ IDE
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: * W. <wi...@fu...> - 2003-12-29 20:14:52
|
Hi all ::
Trivial defence ... I recall several months !! Dealing with this on the =
Microsoft compiler at transition time circa. 1997 and '98.
I much prefer the "\backward" folder stuff that gcc(?) or is it a DEV =
CPP factor -- Use.
I had several project managers dumping on me for "risking' everything -- =
Mind you we delivered on time, etc, etc. (Because we allowed for the =
'pain').
Enjoy someone's forward thinking of the compiler set-up. It will save =
you money !
Good show folks.
Happy 2004 .... Will.
----- Original Message -----=20
From: P.D. van Zelst=20
To: 'William W Cridland' ; dev...@li...=20
Sent: Tuesday, December 30, 2003 6:22 AM
Subject: RE: [Dev-C++] re+ Public Domain C++ IDE
The C++ you're using is pre-standard C++. In 1998 a C++ standard was
finalized and became official, which altered a few things you might be =
used
to. For instance, namespaces have been added, and are now enforced by =
most
compilers. The standard C++ library functions, types and objects are =
now
stored inside a namespace called "std". "void main" has never been =
standard
C or C++, and thus has always been wrong. The newer versions of GCC =
simply
don't accept it anymore. Furthermore, the standard C++ library header =
files
are now extensionless, to avoid confusion with standard C library =
header
files.
So, applying all these changes, here is what your code should look =
like now:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello Dolly\n";
return 0;
}
Hope this helped.
Regards,
Paul
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...] On Behalf Of =
William W
Cridland
Sent: Monday, December 29, 2003 10:16 PM
To: dev...@li...
Subject: [Dev-C++] re+ Public Domain C++ IDE
I have downloaded your C++ IDE 1991 and looks great . However after
having taught C++ for the past 6 years . All the simple code I input =
to
your IDE seems to fail with notes such as antiquated etc etc. Code is =
as
follows you cannot get more simple than this.
=20
=
#include<iostream.h>
void main()
{
cout<<"Hello Dolly\n";
=20
// you dont need a return at this
level of code, also
// Main is not expecting anything
back !
}
Would apreciate any help advice or perhaps you could steer me to a
tutorial which would elaborat or give examples that work with your
compiler !!. Regards
Bill Cridland WA1HMW Bolton MA
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for =
IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys =
admin.
Click now! =
http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for =
IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys =
admin.
Click now! =
http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|