Re: FW: Where to include header files - relates to last question on variable scope
Re: FW: Where to include header files - relates to last question on variable scope
- Subject: Re: FW: Where to include header files - relates to last question on variable scope
- From: "M. Uli Kusterer" <email@hidden>
- Date: Fri, 5 Nov 2004 00:15:06 +0100
At 9:07 Uhr +0100 01.11.2004, Ole Voß wrote:
Still, I think that you should not hang around a
mailing list like cocoa-dev if you feel bothered
by questions posed by people less-knowing than
you. Afterall you might need help from me
someday for something that does not seem 'basic'
to you.
Maybe *you* should not hang around mailing lists
for a development environment where people are
bothered by people like you who constantly ask
questions to which the answer can be found in any
decent book about C programming.
This isn't comp.lang.c.rtfm, this is Cocoa-Dev.
Gosh, the guy *answered your question*, and you
have the *nerve* to tell him he'd better get off
this list?!
I would really like to learn this, but with all
the information available, all I need is a
simple pointer in the right direction. Tell me
where I can find this 'all-encompassing how a
C/Obj-C/XCode compiler works' document and I'll
read and understand it.
Ever heard of "Markt und Technik"? I hear
they've made half of their money in the last
twenty years by selling books on exactly that
topic. They're selling their stuff here in
Germany, in every damn bookstore, and there's
also amazon.de. Can you figure out the rest
yourself?
Apart from that, there is *the* book on C. It's
called "Kernighan and Ritchie: The C Programming
Language". It's been available since 1978. The
second edition, if you look up "compilation,
separate" in the index, will tell you that pages
80 and 227 describe what you're looking for.
But if I need the same class in my AppController
(taking care of my menu and stuff) and again in
the PreferenceController (taking care of the
preference pane) - then I have to include the
header file twice. I thought that there would be
a single file where I could include all required
header files so that I DONT have to do that.
So much on how truth and that thought relate.
'main.m' is obviously not the place to do that
in, and so far nobody has given me a hint
(besides your mentioning the build-phase) -
Should I delve deeper into the build-phase or
should I concern myself with the nitty gritty of
how a compiler works when all I want to know is
where to put global variables?
Look at Prefix Headers and leave us alone. Please?
I don't understand why this question doesn't
relate to cocoa?! I use obj-c to do cocoa
programming, don't I? It's like saying gasoline
doesn't relate to my engine ;-)
There are newsgroups and mailing lists dedicated
to Objective C. Go there if you have questions on
Objective C. comp.lang.objective-c and
comp.lang.c come to mind. There's also an
xCode/Project Builder mailing list at Apple, and
dozens of other places where you can be rude to
people helping you with on-topic questions. No
need to be rude here to people who help you with
off-topic questions.
PS - My apologies to all non-Germans on this
list. He is rude, I'm being rude to him ... not
all Germans are like Ole and me. Promise.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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