|
From: <igo...@po...> - 2002-01-18 08:59:54
|
Hi,
Try to:
#include <conio_mingw.h>
It works for me under Dev-C++.
Regards
Igor Pierscinski
-----Original Message-----
From: Ioannis Vranos [mailto:no...@ya...]
Sent: Thursday, January 17, 2002 2:31 PM
To: Dev-C++
Subject: RE: [Dev-C++] getch()??
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...] On Behalf Of anon
> Sent: Thursday, January 17, 2002 3:12 PM
> To: dev...@li...
> Subject: [Dev-C++] getch()??
>
>
> Hi!
> we're a class of 60, I luv 2 use dev for my assignments, my friends
> would like to switch too but they want getch() to work and not
> system("PAUSE") at the end to see the output. I tried using
> conio.h, but
> it doesn't help. curses.h is not found (?) can anyone please
> tell me how
> do i get getch() working? Which header file is to be included or do I
> tweak my compiler options?
> thanx,
> Abhi
getch(), getche() are defined in conio.h . I have downloaded the recent
mingw32 compiler and the code works as it should. However i think that
indeed getch() did not work in the version included with dev-c++. If
this is the case use getche(), or download the recent version of mingw32
(about 10 mb).
Ioannis
* Ioannis Vranos
* Programming pages: http://www.noicys.d2g.com
* Alternative URL: http://run.to/noicys
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|