Header Files and Links to documentation
Header Files and Links to documentation
- Subject: Header Files and Links to documentation
- From: Ole Voß <email@hidden>
- Date: Mon, 01 Nov 2004 14:32:09 +0100
Even though it is said, that obj-c does not relate to cocoa, I feel that
it might be interesting to others:
In the book 'The C++ programming language' by Stroustroup I've found
that chapter 9 explains many of the 'well-known' but obviously not well
documented facts that have been mentioned during my search for answers.
The subject of precompiled headers brings another link which seems
interesting enough to follow, though the ADC documentation suggests not
to include things that will change often. I think that a globally unique
variable for use by all classes within a project won't change often, so
that looks like a likely place to put these:
http://developer.apple.com/documentation/DeveloperTools/Conceptual/Build_System/index.html
As a summary I've definitely learnt that header files must be
re-included for each separate source file that they are required in.
'Source' means '.m', '.c', '.cpp'!
I've also learnt that the '.m' file has no special meaning for the
compiler - it doesn't seem to have a special 'all-encompassing' meaning,
but rather it's just another sourcefile which represents the starting
point to my later program.
Thank you all for your help!
Ole.
_______________________________________________
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