This snippet of code works OK but if I add #include <conio.h> it
doesn't!
Mark
p.s. Thanks Ricardo
-----Original Message-----
From: Ricardo L=F3pez Ruiz [mailto:ri...@po...]
Sent: 18 January 2002 14:25
To: dev...@li...
Subject: [Dev-C++] GETCH()
I write a code like below and in my installation it runs
perfectly!!.
I unknown the reason why it doesnot work on your platform for.
good luck.
CODE:
***********
#include <stdio.h>
int main()
{
int a;
a=3Dgetch();
printf("%c %c\n",a,a);
getch();
//system("PAUSE");
return 0;
}
*********************
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
------------------------------------------------------------------------=
--
This e-mail may contain privileged/confidential information and may be
read, copied and used only by the intended recipient. If you have =
received
it in error, please contact the sender by return e-mail or by
telephoning +44 (0)1480 302100.
Please then delete the e-mail and do not disclose its contents to any
person.
Any information in this message that does not relate to the official=20
business of Linx shall be understood as neither given nor endorsed by =
Linx.
We reserve the right to monitor all e-mail communications through our
internal and external networks.
------------------------------------------------------------------------=
--
|