TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:12705] A Little C Question
On Fri, 21 Jan 2000, John J. Trammell wrote:
> Chris McKinley <lamfada@lugh.net> opined:
> >
> > On Fri, 21 Jan 2000, Jonathan Kline wrote:
<snip>
> > You need a function to turn an int to a string (null terminated array),
> > call it char * int_to_str(int);
>
> sprintf() would work just delovely for this.
>
yep, my bad;
>
> Eh. You sure you can't do it in Perl? :-)
>
that is the language of choice :)
$addr = $base . $host;
-Chris