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

Convert float to gchar *



Hi!

I need to convert float in gchar*
is there a function in glib?

see my code:
void RefreshFramePerSecond(void)
{
	float fNbFps;
	fNbFps = oDw3D.GetNbFps();
	gtk_window_set_title(GTK_WINDOW(oWindow),fNbFps);//error to convert float
to const char*
}

Thanks!





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