|
From: Ioannis V. <iv...@em...> - 2003-03-21 16:57:54
|
The person was talking about C, not C++. Regards, Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL: http://run.to/noicys -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of = Catsquotl Sent: Wednesday, March 19, 2003 8:24 PM To: dev...@li... Subject: RE: [Dev-C++] silly question At 16:31 19-3-2003 +0200, Ioannis Vranos wrote: #include <stdlib.h> /* ... */ #include <cstdlib> as include header will also work. followed by code below. greets cat (sorry Ioannis for sending this to you first. wrong button) =20 int main(void) { /* ... */ =20 system("pause"); =20 return 0; } =20 =20 =20 =20 Ioannis Vranos =20 * Programming pages: http://www.noicys.freeurl.com * Alternative URL: http://run.to/noicys =20 =20 -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Theodore Kypraios Sent: Wednesday, March 19, 2003 2:47 PM To: dev...@li... Subject: [Dev-C++] silly question Dear C++ users, I have just downloaded Dev-C++ compiler. I am new in the C language. I have written the simplest program (hello.c). The compile proedure is = fine, but when I execute the program I cannot anything in the screen. It seems that it appears an MS-dos windows and it is closed itself immediately. Any ideas? I realise that this a silly question but I have to solve it = in order go further. Thanks in advance, Theodore Theodore Kypraios, Postgraduate Student =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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Web: http://www.maths.lancs.ac.uk/~kypraios email: t.k...@la... Department of Mathematics and Statistics Fylde College Lancaster University Lancaster, LA1 4YF UK Tel:+(44)(0)1524 593094 Fax:+(44)(0)1524 592681 =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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D |