Daniel Child wrote:
NSString *strc = [NSString stringWithFormat: @"%c", &value]; ... NSString *strC = [NSString stringWithFormat: @"%C", &value];
These are both wrong. Remove the & before value.
http://developer.apple.com/documentation/Cocoa/Conceptual/Strings/ Articles/formatSpecifiers.html
Also, %c is wrong because value is not an 8-bit ASCII character, and printing its low 8 bits as if it were ASCII is meaningless.
-- GG _______________________________________________ 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