Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uunet!mcsun!cernvax!chx400!bernina!wild From: wild@nessie.cs.id.ethz.ch (Markus Wild) Newsgroups: comp.sys.amiga.programmer Subject: Re: GCC - No gets()!!!!!!!! Message-ID: <1991May17.135410.20757@bernina.ethz.ch> Date: 17 May 91 13:54:10 GMT Article-I.D.: bernina.1991May17.135410.20757 References: Sender: news@bernina.ethz.ch (USENET News System) Distribution: comp Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH Lines: 23 Nntp-Posting-Host: nessie In article lord_zar@ucrmath.ucr.edu (wayne wallace) writes: >Prob: GCC is missing gets() from the include files! I assume everyone knows >how painful getting input becomes with only scanf() and fscanf() and getc(). Hey, you can't just blaim GCC for that! Gcc as it is distributed by the FSF comes only with a VERY limited set of header files, stdarg.h comes to mind. Gcc really relies on the fact that you're going to replace your 'system' cc with it, so it can continue to use that environment. There is a gnu library (and whence header files) under construction, but there is no official release yet. You probably want to use the PDC headers/libraries, or the the PDC ones hacked over severly by Ray Burr (Was it you Ray? I know it's someone of your group;-)). You should find this stuff where you got your copy of gcc from. -Markus BTW: extern char* gets(char *); Just try it, the library should contain it, even if it doesn't show up in the header files. -- Markus M. Wild - mwild@iiic.ethz.ch | wild@nessie.cs.id.ethz.ch -- Still looking for a REAL debugger for Release 4 ...