Re: [gtk-list] newbie question



On 09/30/98 Luyseyal uttered the following other thing:
> i'm amidst refreshing my old college C skills via GTK+.
> using: redhat 5.1, glibc 2.0.7
> 
> i've noticed that there is no ultoa or ultostr function
> in stdlib.h. is there a GTK+ workaround for this or do i
> need to do this the hard way?
> 
> basically, i'm writing a winipcfg.exe clone for GTK+ and
> i need (or at least think i need) to convert the unsigned
> long IP address into gchar* for display in a Clist.

sprintf (buf, "%lu", ip_addr);

Brandon
-- 
 Brandon Long          "If organized religion is the opium of the masses,
 MD6 Crash Test Dummy   then disorganized religion is the marijuana of the
 Intel Corporation      lunatic fringe." -- Kerry Thornley, "Principia"
          I'm too low on the totem pole to speak for Intel.
		  http://www.fiction.net/blong/



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