On May 7, 2010, at 12:00 PM, paul morel wrote:

>       sprintf(sFormat, "%%d\t%%0.%df\t%%0.%df\t%%0.%df\t%%0.%df\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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to