RE: Re[2]: [Dev-C++] Stupid question
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ioannis V. <no...@ho...> - 2002-08-09 22:46:09
|
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...] On Behalf Of Zodiaq
> Sent: Saturday, August 10, 2002 1:40 AM
> To: Dev...@li...
> Subject: Re[2]: [Dev-C++] Stupid question
>
>
> Hello Ioannis and all Dev-C++ users,
>
> Friday, August 9, 2002, 11:53:12 PM, Ioannis wrote as follows:
>
> IV> Your code is valid, you should not get any errors,
> although it could be
> IV> written better:
>
> IV> #include <iostream>
> IV> #include <cstdlib>
>
>
> IV> int main() {
>
> IV> using namespace std;
>
> IV> cout << "hello" << "\n";
> IV> system("PAUSE");
>
> Ain't that better to use cin.ignore() instead of cstdlib and
> system("PAUSE") ??
Yes that would be more portable.
> that are just my two grosze...
> --
> regards, Zodiaq
Ioannis hands to Zodiaq 2 euro-grosze.
Ioannis
* Ioannis Vranos
* Programming pages: http://www.noicys.cjb.net
* Alternative URL: http://run.to/noicys
|