Re: [Dev-C++] re+ Public Domain C++ IDE
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: RUDOLPH B. <ku...@sp...> - 2003-12-29 22:06:16
|
Hello William,
There are two points to be made but, please consider my two forms:
// stdmain.cpp
/* this will complie but To disable this warning use -Wno-deprecated
otherwise ok for Learning pactice.
*/
#include<iostream.h>
#include<stdlib.h> //system()
void main()
{
cout<<"Hello Dolly\n"; system("pause") ;
return; // Main is not expecting
//anything but still have to return control to OS !
}
// stdmain.cpp
#include<iostream>
#include<cstdlib.h> // All standard C libraries are presented with 'c'
//inserted for compatabillities !!
using namespace std; // to qualified ( standard C++ libraries files only).
int main()
{
cout<<"Hello Dolly\n";
system("pause") ;
return 0; // Main is not expecting
//anything but return value of 0 to OS !
}
A good C&C++ complier is ISO standard. cut & paste it and try.
I hope this have help you. I heard that < cprogramming.com >is a good
resource website.
Regards
Rudolph
----- Original Message -----
From: "William W Cridland" <wa...@ju...>
To: <dev...@li...>
Sent: Monday, December 29, 2003 9:16 PM
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.
>
>
> #include<iostream.h>
>
> void main()
>
> {
> cout<<"Hello Dolly\n";
>
> // 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=1278&alloc_id=3371&op=click
> _______________________________________________
|