discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Portable toolchain


From: Riccardo Mottola
Subject: Re: Portable toolchain
Date: Thu, 28 Nov 2013 20:59:56 +0100
User-agent: Mozilla/5.0 (X11; NetBSD i386; rv:17.0) Gecko/20131010 Thunderbird/17.0.9

Hi,

On 11/28/13 02:26, Kevin Ingwersen wrote:
#import <Foundation/Foundation.h>
int main() {
        NSString *str = „o.o“;
        NSLog(str);
        return 0;
}
make that:

NSString *str = @"o.o";

Notice both the @ that marks this as a NSConstantString and also "" versus your quote marks!

Riccardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]