This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

sscanf problem


The following program prints
i=1 x=0
instead of
i=0 x=10
when using the latest version of cygwin1.dll.


#include <stdio.h> int main() { int i; double x; x = 10; i = sscanf("n", "%lf", &x); printf("i=%d x=%g\n", i, x); return 0; }


-Michael Hines


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]