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 23:15:21
|
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 |