🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #42145

Re: scanf problem in TC v2.01.

#42145
From: Brent K. Barrett
Date: Sun, 11 Feb 1990 12:08
22 lines
1150 bytes
In article <7192.25d1e107@dit.ie> (Aengus Lawlor) writes:
>I'm having a problem using scanf in Turbo C 2.01.
>
>When I have the code
>
>         fscanf(f,"%f",x);
>
>it compiles and links fine, but at run time I get
>
> scanf : floating point formats not linked
 
 One way to get around this is to link in the emu.lib or fp87.lib
libraries *before* the standard library.  This forces TC to link in
the floating point package for printf/scanf.
 
 BTW, what is TC 2.01?  Never heard of it.  Where did you purchase
it?

-- 
  ////////      Novucivitas: The Future of Citadel       //////// 
 ///    US 916 784 9432 3/12/2400 bps GEMAIL: B.K.BARRETT    /// 
////////          ..ames!pacbell!sactoh0!brent         //////// 
Technical Details
Message-ID: <2536@sactoh0.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucbvax!ucdavis!csusac!sactoh0!brent
References: <7192.25d1e107@dit.ie> <1487@maytag.waterloo.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucbvax!ucdavis!csusac!sactoh0!brent
From: brent@sactoh0.UUCP (Brent K. Barrett)
Newsgroups: comp.sys.ibm.pc,alt.msdos.programmer
Subject: Re: scanf problem in TC v2.01.
Message-ID: <2536@sactoh0.UUCP>
Date: 11 Feb 90 12:08:14 GMT
References: <7192.25d1e107@dit.ie> <1487@maytag.waterloo.edu>
Organization: Sacramento Public Access, Ca. USA
Lines: 22