No problem at all. I'll pick up Kernighan & Ritchie. Thanks for reply.

On Jun 28, 2011, at 1:17 PM, Jens Alfke wrote:


On Jun 28, 2011, at 10:11 AM, Kevin Muldoon wrote:

I suppose the trouble here is that I'm familiar with Objective-C code and not so familiar with its parent, C.

Yeah, unfortunately Objective-C does not absolve you of having to know C. With where you’re going, I’d suggest cracking open Kernighan & Ritchie or some other good C book.

(It’s a shame Cocoa doesn’t have more powerful stream APIs, or some equivalent of Perl/PHP/Ruby’s ‘unpack’ function, that would let you do this kind of stuff without needing to do pointer grunge. For some reason streams have always been a primary Achilles’ heel of Cocoa. I’ve been coding in it for ten years and I still never use NSFileHandle — if I have to stream data to/from files I just drop down to ANSI C or POSIX I/O calls.)

—Jens


Kevin Muldoon
e: caoimgh...@gmail.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to