home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!ukma!darwin.sura.net!zaphod.mps.ohio-state.edu!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!gyme
- From: gyme@uieea.ece.uiuc.edu (Jim Johnson)
- Subject: Turbo C - Floats
- Message-ID: <gyme.728233586@uieea>
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Organization: University of Illinois at Urbana
- Date: Thu, 28 Jan 1993 15:06:26 GMT
- Lines: 28
-
- Sorry if this is a stupid question, but I just recently started
- programming with Turbo C++ 3.0.
-
- For some reason I am unable to do any floating point data storage with
- the scanf function as follows:
-
- float junk;
- ..........
- ..........
- scanf("%f", &junk);
- ............
- ............
-
- Whenever I try executing the program, I get an exit code of 3, the message
- "Abnormal ... termination" and the message "Floating point ... not linked"
-
- What's the problem? I'm assuming it is probable something simple,
- but you never know.
-
- E-mail replies if possible please...
-
- Jim Johnson
-
- --
- -------------------------------------------------------------------------------
- James J. Johnson | "Never underestimate the power of human
- a.k.a. GYME | stupidity." -- Gyme
- gyme@uieea.ece.uiuc.edu |
-