Mac-Specific C programming resources

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

  1. macrumors 6502a

    Joined:
    Jul 17, 2007
    #1
    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. macrumors 65816

    Joined:
    Nov 26, 2007
    Location:
    Austin, TX
    #2
    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. macrumors 6502a

    Joined:
    Dec 2, 2008
    #3
    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. Moderator

    balamw

    Staff Member

    Joined:
    Aug 16, 2005
    Location:
    New England
    #4
    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:
    http://www.amazon.com/Learn-C-Mac-Dave-Mark/dp/1430218096 :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. http://www.curly-brace.com/

    B
     
  5. thread starter macrumors 6502a

    Joined:
    Jul 17, 2007
    #5
    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. macrumors 6502

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

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #7
    Flood gates = open.
     
  8. thread starter macrumors 6502a

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

    Joined:
    Sep 8, 2006
    #9
    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.

    -Lars
     
  10. macrumors 68040

    elppa

    Joined:
    Nov 26, 2003
    #10
  11. macrumors 603

    Joined:
    Aug 9, 2009
  12. macrumors regular

    Joined:
    May 24, 2009
    Location:
    Somewhere over there.
    #12
    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.
     
  13. macrumors 68000

    Joined:
    Sep 8, 2006
    #13
    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.
     
  14. macrumors regular

    Joined:
    May 24, 2009
    Location:
    Somewhere over there.
    #14
    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. http://www.amazon.com/Behavioral-Mathematics-Game-Dave-Mark/dp/1584506849/ref=sr_1_3?s=books&ie=UTF8&qid=1308700576&sr=1-3
    I'm not into writing games but the math applied here sounds deep.
     

Share This Page