> From: Flavio Alberto Lopes Soares <[EMAIL PROTECTED]>
> Organization: MAQPLAS
>
> I need to print float numbers in a gtk label and this widget only accept
> gchar in your text parameter, I want to know if exists some type of
> routine that changes float number in format a.bcde to char format
> "a.bcde".
>
> Very Thanks for any help
>
> Flavio Alberto
Take a look at snprintf - it uses printf formatting codes but prints
to a string rather than standard output.
Try:
man snprintf
or see a good C programming book for details.
Dave
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list