RE: [GLIB] Handling float with gscanner



> 
> I'm trying to use gscanner to read float numbers, and it 
> works well if I
> use unsigned numbers. But when I try to read a number like -17.0, it
> complains. It seems that it doesn't recognize the sign '-'.
> 
> Is it normal?

Yes.

George Lebl has written an excelent article about the GScanner. 
Take a look at:
http://www-4.ibm.com/software/developer/library/glib2.html?dwzone=linux

Regards,

Arjan

> Thanks for your help,
> 
> Fabian Bastin.
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-list
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]