TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: John Poltorak
from: Jason Meaden
date: 1995-03-30 19:49:24
subject: scanf

G'Day John,

On 23-03-95, John Poltorak said to All the following :

 JP> I am simply stunned to find ICC acting in such an erroneous way with
 JP> something so trivial. I also got unexpected results when displaying
 JP> numbers of type 'double'. All this makes me rather hesitant about
 JP> learning 'C' using the C Set/2 compiler. I guess I'll move over to
 JP> GCC for the time being.

It isn't a bug as such, more an 'unexpected result' :)

The compiler is buffering the output stream, as it may.  GCC (and most
compilers) does not.  Simply fflush(stdout) and you're back on track.

Regards,


       Jason Meaden
       - TeamOS/2

--- FleetStreet 1.02 #18
* Origin: [+61 9 454 6970] -= Tiara Information Services =- (3:690/354)
SEEN-BY: 620/243 632/348 640/820 690/245 254 354 370 380 388 500 501 613 660
SEEN-BY: 690/686 711/409 410 413 430 807 808 809 934 949 955 712/515 713/888
SEEN-BY: 800/1 7877/2809
@PATH: 690/354 613 660 711/409 808 809 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™.