gnokii-users
[Top][All Lists]
Advanced

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

Re: sprintf usage


From: Pawel Kot
Subject: Re: sprintf usage
Date: Thu, 4 May 2006 22:06:20 +0200

Hi,

On 5/4/06, Cameron Laird <address@hidden> wrote:
I haven't found any documentation I consider definitive
on the question.  I'd sure avoid that coding, though;
even if there's a standard that claims to require the
result you're after, it looks too fragile to me.  Use
a scratch buffer.

OK, considering rewrite what would be the best way to reimplement:
for I(i = 0; i < length; i++)
   sprintf(buffer, "%s%d", buffer, input[i]);
?

take care,
pkot
--
Pawel Kot
http://www.gnokii.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]