On 7 May 2010, at 2: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);
You should also bear in mind that the printf() family lets you parameterize widths and precisions directly by using "*" instead of a number, and supplying the numbers in the parameter list. Maybe that helps. My vote is with the others: Your sFormat is probably too small, and you really should get in the habit of using a debugger. — F _______________________________________________ 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