Skip navigation.
 
mlRe: printf with "%@"
FROM : Roland Silver
DATE : Fri Aug 11 18:26:47 2006

Yes, that'll work (but the method cString is deprecated in favor of 
cStringUsingEncoding: ).

That takes care of the example I gave, but not the general case where 
one wants a format that includes "%@".

On Aug 11, 2006, at 10:19 AM, Dirk Stegemann wrote:

> Ok; then you'll probably want to try something like this:
>
> printf("sender = %s \n", [[sender description] cString]);
>

Related mailsAuthorDate
mlprintf with "%@" Roland Silver Aug 11, 17:55
mlRe: printf with "%@" Dirk Stegemann Aug 11, 17:57
mlRe: printf with "%@" Roland Silver Aug 11, 18:08
mlRe: printf with "%@" Dirk Stegemann Aug 11, 18:19
mlRe: printf with "%@" Roland Silver Aug 11, 18:26
mlRe: printf with "%@" Piers Uso Walter Aug 11, 18:41
mlRe: printf with "%@" Joseph Kelly Aug 11, 18:41
mlRe: printf with "%@" Dirk Stegemann Aug 11, 18:47
mlRe: printf with "%@" Deborah Goldsmith Aug 11, 23:41
mlRe: printf with "%@" Andrew Farmer Aug 12, 00:28
mlRe: printf with "%@" Wayne Hasley Aug 12, 01:28