Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!slacvm!doctorj From: DOCTORJ@SLACVM.SLAC.STANFORD.EDU (Jon J Thaler) Newsgroups: comp.lang.c Subject: Re: Implicit decimal points in floating-point reads Message-ID: <91141.212400DOCTORJ@SLACVM.SLAC.STANFORD.EDU> Date: 22 May 91 05:24:00 GMT Organization: Stanford Linear Accelerator Center Lines: 15 In article <16222@smoke.brl.mil>, gwyn@smoke.brl.mil (Doug Gwyn) says: > > In article <5366@dftsrv.gsfc.nasa.gov> brotzman@nssdca.gsfc.nasa.gov writes: > > My question: is it possible to read data that are formatted with implicit > > decimal points in ANSI standard C without writing my own routine? > > No, there is no Fortranish support for that in *scanf() formats. > > > I'd be surprised that such an obviously useful bit of functionality > > that has existed for decades in FORTRAN isn't available in C, ... > > What is obvious to ME is that such a format is an accident waiting to strike! I agree. I programmed in FORTRAN for 20 years (before seeing the light...) and never saw the need for laziness at this level.