| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | borland bug? |
Hi Paul
PE> /* This program demonstrates a bug in Borland C++ 3.1 and
PE> Turbo C++ 1.0.
PE> It comes up with error message:
PE> scanf : floating point formats not linked
PE> Abnormal program termination
PE> I can find no way to override this behaviour via a compile
PE> time option.
Strange one. It happens in both my 3.0 and 4.02 . The problem
disappears if another scanf() family function (that doesn't use the
&s->x format) is included somewhere in the program - it doesn't
have to be called first, or even called at all, it just has to be
compiled. It doesn't even have to use the %f format, %i does the
trick as well. Very odd.
I get the same error message with
main(){float f; fscanf(stdin,"%f",&f);}
if I turn off floating point support in the IDE.
Shall I raise this with Borland, or would you like to?
Cheers
--- PPoint 1.88
* Origin: Silicon Heaven (3:711/934.16)SEEN-BY: 711/808 934 @PATH: 711/934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.