Re: n00b question about includes
Re: n00b question about includes
- Subject: Re: n00b question about includes
- From: Alastair Houghton <email@hidden>
- Date: Mon, 13 Aug 2007 10:44:34 +0100
On 13 Aug 2007, at 10:40, Uli Kusterer wrote:
On 11.08.2007, at 11:04, Alastair Houghton wrote:
#define FOO ((double)5)
There's also good old
#define FOO 5.0
or the familar
#define FooInt 5L
and the likes? There's similar stuff for most data types in C...
Sure. I wanted to demonstrate the more general version, but you're
right that C has ways to write many (though not all) of its base
types without casts.
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden