Never ever use sprintf for anything. See here for why: <http://developer.apple.com/documentation/security/conceptual/ SecureCodingGuide/Articles/BufferOverflows.html#//apple_ref/doc/uid/ TP40002577-SW10>
On 5/26/09 3:26 PM, Alexander Spohr said: >sprintf > > > >Am 25.05.2009 um 09:16 schrieb Pierre Berloquin: > >> Hi >> I need to display an int with CGContextShowTextAtPoint >> that only accepts char arrays. >> How do I go about it ? >> I can't find how to convert an int into a char* in objective-C !! -- ____________________________________________________________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ 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