Thread: Programming C on a mac, good?

  1. #1
    Registered User
    Join Date
    Sep 2007

    Programming C on a mac, good?

    I will be purchasing a new Mac book pro for my personal use very soon. I was just wondering is it good for C programming? I know there are programs like Cocoa and Xcode for the mac. But later on I am thinking about once I need to start taking some Computer Science classes and C programming classes do they mainly require you to use windows based programs? If so I would just use boot camp or parallel. I guess all I am trying to ask is, is programming on a mac common?

  2. #2
    Registered User
    Join Date
    Oct 2001

  3. #3
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    If you're sticking with just the C standard library, which hopefully a basic C programming course will do, then it should be fine. If they try to force unportable things on you (like conio.h and such), then you may very well have issues trying to get their code to run.

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Which in a way is a good thing, because if the code they teach you consistently fails, it means they're not teaching standard C at all, but instead some weird dialect known as "works for me C".
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  5. #5
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    You can always set up a cross-platform compile though (ie a windows compiler on your mac) or you could run a windows compiler under an emulator such as wine.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to Send Mac Address From Client to Server
    By Lieyza197 in forum C Programming
    Replies: 2
    Last Post: 05-27-2009, 09:58 AM
  2. Good books for learning WIN32 API
    By Junior89 in forum Windows Programming
    Replies: 6
    Last Post: 01-05-2006, 05:38 PM
  3. Good resources for maths and electronics
    By nickname_changed in forum A Brief History of
    Replies: 8
    Last Post: 12-22-2004, 04:23 PM
  4. A place to start - mac or pc?
    By GCat in forum C++ Programming
    Replies: 12
    Last Post: 11-19-2004, 12:21 PM
  5. i need links to good windows tuts...
    By Jackmar in forum Windows Programming
    Replies: 3
    Last Post: 05-18-2002, 11:16 PM