Re: Easy one.
Re: Easy one.
- Subject: Re: Easy one.
- From: Rustam Muginov <email@hidden>
- Date: Fri, 15 Jul 2005 12:20:12 +0400
On 15.07.2005 12:13, "Derrick Carlin" <email@hidden> wrote:
> For you. not me... heh heh
>
> I'm just learning...
>
> What is wrong with this code?...
>
>
> -(void) setter:(NSString *) hello
> {
>
> NSLog (@"hello\n");
> NSLog (@"Here is the result %s",hello);
Shoud be:
NSLog (@"Here is the result %@",hello);
Cocoa NSString is not the C ASCIIZ string
> NSLog (@"hello\n");
> }
> @end
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Easy one. (From: Derrick Carlin <email@hidden>) |