Xref: utzoo comp.sys.ibm.pc:44174 alt.msdos.programmer:1210 Path: 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 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 ////////