Re: Just starting off in obj C
Re: Just starting off in obj C
- Subject: Re: Just starting off in obj C
- From: Ian Joyner <email@hidden>
- Date: Sat, 25 Oct 2008 13:14:25 +1100
On 25/10/2008, at 9:16 AM, Alexander von Below wrote:
Am 25.10.2008 um 00:10 schrieb Michael:
The correct statement would be:
NSLog(@"This is %@", mytest());
Thanks Alex. That, ashamedly, I should have figured out!!! :-)
Actually, no. Really the compiler should have figured it out, but ...
Quite right. C compilers are really lazy. It goes back to developing
compilers to work on machines with 8K of RAM (or something like
that!). Just remember that in C, Michael, you are dealing with a very
arcane and archaic language. (Objective-C is the best flavour of it
though, even though it is very preprocessorish).
Am 25.10.2008 um 00:10 schrieb Paul Russell:
You probably got a compiler warning for this line - it's best not
to ignore these.
No, he didn't. Even enabling the "Typecheck calls to printf/
scanf" (GCC_WARN_TYPECHECK_CALLS_TO_PRINTF) will not check NSLog
Alex
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden