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: <19990916130929.6145.rocketmail@web105.yahoomail.com> Date: Thu, 16 Sep 1999 06:09:29 -0700 (PDT) From: Earnie Boyd Reply-To: earnie_boyd AT yahoo DOT com Subject: Re: Won't compile the simplest of progs. To: Daniel Harry Hawson , cygwin AT sourceware DOT cygnus DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Daniel Harry Hawson wrote: > 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? This will most likely work with the Mingw32 package which you can download from Mumit Khan's site. His URL is listed at my site. === Earnie Boyd Newbies, please visit (If you respond to the list, then please don't cc me) __________________________________________________ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com