Mac-Specific C programming resources

Discussion in 'Mac Programming' started by FluJunkie, Jun 20, 2011.

  1. FluJunkie macrumors 6502a

    Jul 17, 2007
    Hey all. I'm finding myself in need of learning C, mainly to collaborate with a colleague who has a massive code base in C, and who is comfortable hammering out stuff in that language, and too busy to learn another.

    Any decent resources for starting to learn C, specifically learning C that will end up getting implemented on a Mac Pro?
  2. ScoobyMcDoo macrumors 65816

    Nov 26, 2007
    Austin, TX
    You might want to do a search to find the answer to this question. I'm pretty sure it's been asked about eleventybillion times.
  3. PatrickCocoa macrumors 6502a

    Dec 2, 2008
    Not a colleague

    If he determines what language you two are going to collaborate in, he's not a colleague, he's the project lead. Essentially your boss for this project.

    If he's taking the authority to determine the language, he must take the responsibility to get you trained in that language. Otherwise you're in some dysfunctional (but all too common) situation where the passive-aggressive know-it-alls poison the work environment.

    Talk to your management, it's their job to determine who gets what resources and what each project should entail.
  4. balamw Moderator


    Staff Member

    Aug 16, 2005
    New England
    If this is a less formal setting than a workplace, e.g. academia, you may wish to consider looking at recent threads by cybrscot and larswik, who were both learning C on the Mac using various resources.

    This book might help too: :p

    You might also want to tell us more about the field of endeavor, and your own backgroud, for example one of MR's users has a pretty decent book that would be useful for learning C for scientific needs, Mac or not.

  5. FluJunkie thread starter macrumors 6502a

    Jul 17, 2007
    Or, alternately, *she* happens to have a massive codebase of things she's done that will vastly speed up things over writing it all from scratch myself, and even if I translated it to a language I'd prefer, I'd still need to be familiar with C.

    The rest of your post is filled with enough conjecture that I'm not going to bother addressing it, save that you're considerably off base.

    Thanks for the pointers.

    I am indeed in academia - generally speaking, I stick to either Python or statistical software, so what you've posted is probably a good place to start :)
  6. Sander macrumors 6502

    Apr 24, 2008
    If you decide to go for my book (thanks for the plug, balamw :) ) I'm here to answer the occasional question.
  7. Cromulent macrumors 603


    Oct 2, 2006
    The Land of Hope and Glory
    Flood gates = open.
  8. FluJunkie thread starter macrumors 6502a

    Jul 17, 2007
    It's speeding its way to my house via Amazon as we speak, and I appreciate the offer.
  9. larswik macrumors 68000

    Sep 8, 2006
    I highly recommend the book that balamw suggested, Learn C on the Mac. I got frustrated learning Object-C and stepped back to C and picked this book last summer. Well written, easy to follow, good examples and not overly wordy.

    I stepped into Obj-C thinking Apress books were the way to go. But Learn Objective-C from Absolute Beginners is frustrating and disappointing and plagued with typos and jumps all over the place. Not a good book for beginners because they don't know whats wrong when the code will not compile.

    But Learn C on the Mac is a great book.

  10. elppa macrumors 68040


    Nov 26, 2003
  11. Jethrotoe macrumors regular

    May 24, 2009
    Somewhere over there.
    I second this book! I have a number of books for Obj C/Cocoa, but saw this on Amazon where you can 'take a look inside'. I liked the style so much that I got it. The authors writing/teaching style is excellent. I wonder if he has one for Obj C? I have to go take a look.

    OP - Do yourself a favor and get this book (I do NOT personally know the author).

    [EDIT] HA! Just saw that you said you were getting the book. Good luck.
  12. larswik macrumors 68000

    Sep 8, 2006
    I was wondering the same thing, to funny. I read the C book but when I got the Learn Objective-C for Mac book I got lost pretty quick. It assumed that you had been programming in C for a while and was not a good book to step to from just finishing the C book.
  13. Jethrotoe macrumors regular

    May 24, 2009
    Somewhere over there.
    I have no background in any C language. After reading (not totally absorbing) a number of Obj C books I decided to fall back on C for some 'background'. I figured it couldn't hurt and a lot of posts here suggested such.

    Just looked on Amazon at his other books. Didn't see one on Obj C but he does have a few for iPhone SDK and Cocoa.

    There was one that I think I'm going to pick up because it sounds totally intriguing.
    I'm not into writing games but the math applied here sounds deep.

Share This Page