Re: A89: Re: Re: ti-89 + TI-GCC vector question
[Prev][Next][Index][Thread]
Re: A89: Re: Re: ti-89 + TI-GCC vector question
In a message dated 2/17/2000 3:23:13 AM Eastern Standard Time,
e96nbr@efd.lth.se writes:
> char buffer[100]; // or something.
> char template[] = "The int is %d right now";
> int myInteger;
> ...
> myInteger = 47;
> printf(buffer,template,myInteger);
just change printf to sprintf
--TurboSoft
Visit the TURBOSOFT HOMEPAGE: The most current Basic and C programs created
by TurboSoft for the 89, and the most 89 web links.
<A HREF="http://turbosoft.ticalc.org/">http://turbosoft.ticalc.org/</A>