Re: Problem mac os X version 10.6 when using sprinft
Re: Problem mac os X version 10.6 when using sprinft
- Subject: Re: Problem mac os X version 10.6 when using sprinft
- From: Jens Alfke <email@hidden>
- Date: Fri, 7 May 2010 12:31:20 -0700
On May 7, 2010, at 12:00 PM, paul morel wrote:
> sprintf(sFormat, "%%d\t%%0.ß\t%%0.ß\t%%0.ß\t%%0.ß\n", n1, n1, n1, n1);
What’s the value of n1? How many bytes long is sFormat? Is the resulting string going to overflow it? To paraphrase Kyle, the debugger is your friend.
—Jens_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden