From: kaz K. <kk...@rr...> - 2001-08-13 23:36:10
|
"Bao C. Ha" <ba...@se...> wrote: > I am having problems with the following code. It works fine > in an x86 system. The problem is at the minus sign of the > datum. The scanf is doing something weird. Changing "%f" > to "%lf" in the scanf statement makes it work again. I can't reproduce your problem on my platforms. It works with gcc-2.97(20001120), gcc-3.0 and even broken gcc-3.1, though my environment will differ from yours in libraries. Which version of glibc are you using? If it was compiled by yourself, which gcc was used for? kaz |