• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: n00b question about includes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >n00b question about includes (From: d2kagw <email@hidden>)
 >Re: n00b question about includes (From: "Juan Nunez-Iglesias" <email@hidden>)
 >Re: n00b question about includes (From: Alastair Houghton <email@hidden>)
 >Re: n00b question about includes (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: n00b question about includes
  • Next by Date: Drag with NSTableView
  • Previous by thread: Re: n00b question about includes
  • Next by thread: Newbie question (if statement)
  • Index(es):
    • Date
    • Thread