Re: Cocoa approachable by non-programmers ?
Re: Cocoa approachable by non-programmers ?
- Subject: Re: Cocoa approachable by non-programmers ?
- From: Denis Stanton <email@hidden>
- Date: Tue, 25 Feb 2003 12:12:17 +1300
On Tuesday, February 25, 2003, at 08:30 AM, Sherm Pendley wrote:
On Monday, February 24, 2003, at 12:03 PM, Andres Santiago
Perez-Bergquist wrote:
I've never developed a firm grasp of what exactly is legal and what
isn't in straight C
Don't worry - the compiler will tell you. ;-)
True. I am employing what I think could be called a heuristic approach
to learning C/Obj-C. Lots of compiles and lots of NSLog. I am thankful
that compiles are so quick these days. When I began programming I had
to live with 24-hour turnaround.
I hate it when they say "this is like printf", and nowhere does it
say what "printf" is like.
I still don't know how to do anything with a printf.
I suppose that, if you guys don't come from a UNIX background, you may
not know this... but the "man" command is your friend.
I still find the formal syntax definitions very difficult to grasp,
whether they are in man pages or Apple's API documentation. A single
one or two line valid syntax example that I can hack away at is much
better for me.
If you want docs on a standard C function, just pop open a terminal
window and type "man functionname" or "man 3 functionname" if there's
a shell command with the same name. (For example, "man printf" tells
you about the printf shell command, while "man 3 printf" tells you
about the C function.)
I hadn't actually thought of using man for C. I do make a lot of use
of Apple's Help, though I don't understand why it is so slow when
looking up Cocoa class definitions.
Thank you for your help
Denis
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.