Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: <199909151131.MAA02157@cedar.dcs.shef.ac.uk> Date: Wed, 15 Sep 1999 12:31:10 +0100 (BST) From: Daniel Harry Hawson Reply-To: Daniel Harry Hawson Subject: Won't compile the simplest of progs. To: cygwin AT sourceware DOT cygnus DOT com X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.3.2 SunOS 5.7 sun4u sparc Content-Type: text X-Sun-Text-Type: ascii I have a 'Progs' folder in my 'cygwin-b20' folder. In 'Progs', I tried to compile a C++ file called 'Keypress.cpp'. > BASH.EXE-2.02$ gcc -o Progs/key.exe Progs/keypress.cpp > Progs/keypress.cpp:1: conio.h: No such file or directory > BASH.EXE-2.02$ What am I doing wrong? Here is the contents of 'Keypress.cpp' - > #include > #include > > int main(void) > { > int c; > c = getch(); > while (c != 27) //27 = esc > { > cout<<"pressed :"< c = getch(); > } > return 0; > } Will CygWin work with C++ or just C code? How can I get this to work? Thanks. Dan u7dhh AT dcs DOT shef DOT ac DOT uk -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com