Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!rpi!uupsi!pinet!marc From: marc@pinet.aip.org (Marc Wiener) Newsgroups: comp.lang.c++ Subject: Re: scanf() problem in Turbo C++ 1.00 but NOT in Turbo C 2.01 Keywords: calloc scanf float double Message-ID: <1990Oct12.134305.9273@pinet.aip.org> Date: 12 Oct 90 13:43:05 GMT References: <344@usna.NAVY.MIL> Organization: American Institute of Physics Lines: 17 >Here's the problem: when I compile and run this code under Turbo C 2.01, it >works fine--accepts a floating-point number and prints it out. When I >compile and run the SAME code under Turbo C++ 1.00, I hit the (uncommented) >scanf and get the following message: > > scanf : floating point formats not linked > Abnormal program termination > This is a bug in the compiler. Patches were posted on Compuserve and I think I posted them recently on this board. If you can't find them let me know and I'll repost. -- Marc Wiener | marc@pinet.aip.org American Institute of Physics | marc@aip.bitnet 500 Sunnyside Blvd. |