delorie.com/archives/browse.cgi | search |
Date: | Wed, 19 Oct 1994 14:21:02 -0400 |
From: | Howard Kaikow <kaikow AT standards DOT com> |
To: | djgpp AT sun DOT soe DOT clarkson DOT edu |
Subject: | SCANF "hangs" with DJGPP. not with MS C7.0 |
Cc: | kaikow AT standards DOT com |
Using the program below with the following input line 22.328.34E-09 The scanf hangs waiting for more input. This does not occur with MS C 7.0. #include <stdio.h> int main (void) { float kgs, share; scanf("%f%f", &kgs, &share); printf("%f %f\n", kgs, share); return 0; }
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |