Xref: utzoo alt.msdos.programmer:1234 comp.sys.ibm.pc:44302 Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!bg0l+ From: bg0l+@andrew.cmu.edu (Bruce E. Golightly) Newsgroups: alt.msdos.programmer,comp.sys.ibm.pc Subject: Re: scanf problem in TC v2.01. Message-ID: Date: 12 Feb 90 16:28:28 GMT References: <7192.25d1e107@dit.ie>, <1487@maytag.waterloo.edu> Organization: Carnegie Mellon, Pittsburgh, PA Lines: 13 In-Reply-To: <1487@maytag.waterloo.edu> I just looked at this problem. As far as I can tell, TC simply doesn't link the floating point routines if the only references are *printf or atof. The solution I obtained from other sources was to include the statement: (void)exp(1.0); somewhere in the code. This call need be done only once, and it appears to force TC to link the necessary routines. BTW - I got this solution from somebody on the "C" bboard, and got my ears pinned back for daring to post a question about TC on that board. They ain't the friendliest people in the world over there.