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: Kyle Sluder <email@hidden>
- Date: Fri, 7 May 2010 12:17:17 -0700
On Fri, May 7, 2010 at 11:59 AM, paul morel <email@hidden> wrote:
> Hi,I'm trying to use a c function:
> Â Â Â Â sprintf(sFormat, "%%d\t%%0.ß\t%%0.ß\t%%0.ß\t%%0.ß\n", n1, n1, n1, n1);
> When I compile my program for Mac OS X 10.5 and run the program everything is ok, whereas as soon as I use Mac OS X 10.6 the program crashes at this "sprintf" and there is a "SIGABRT"! And I have no clue why! Does anybody have an idea?
You have a debugger. This is what it (and only it) excels at, so use
it. Only it can tell you where your program died; since you're
building a printf format string on the fly, I wouldn't be surprised if
your actual problem has nothing to do with this line of code.
--Kyle sluder
_______________________________________________
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