🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3689

Re: gets() and getchar

#3689
From: halasz
Date: Thu, 10 Aug 1995 02:23
13 lines
996 bytes
In article <KANZE.95Aug9103309@slsvhdt.lts.sel.alcatel.de>, kanze@lts.sel.alcatel.de (James Kanze US/ESC 60/3/141 #40763) writes
- ....
- An excellent idea.  But wouldn't it be better if it gave the error
- message at compile time (with a line number so you could find and
- correct it easily)?  Say:
- 
- 	-Dgets='DONT_USE_GETS!'
- 
- (The quotes are for Unix.)

(The quote-marks gain nothing in anie shell, not even "csh".)  It would
be nicer if "gets" took a length, too.  It is, after all, quite nice to
hav all theze functions that work on "stdin" with no need to write it.
Technical Details
Message-ID: <40bqih$bft@caip.rutgers.edu>
Path: arc1-ca.pugleaf.net!caip.rutgers.edu!not-for-mail
References: <Pine.ULT.3.91.950807194041.19202A-100000@mars> <KANZE.95Aug9103309@slsvhdt.lts.sel.alcatel.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!caip.rutgers.edu!not-for-mail
From: halasz@caip.rutgers.edu
Newsgroups: comp.std.c
Subject: Re: gets() and getchar
Date: 9 Aug 1995 22:23:13 -0400
Organization: Rutgers University
Distribution: world
Message-ID: <40bqih$bft@caip.rutgers.edu>
References: <Pine.ULT.3.91.950807194041.19202A-100000@mars> <KANZE.95Aug9103309@slsvhdt.lts.sel.alcatel.de>
NNTP-Posting-Host: caip.rutgers.edu