Programming C on a mac, good?

This is a discussion on Programming C on a mac, good? within the C Programming forums, part of the General Programming Boards category; I will be purchasing a new Mac book pro for my personal use very soon. I was just wondering is ...

  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    23

    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
    Posts
    2,129
    yes.

  3. #3
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,211
    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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,541
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  5. #5
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    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, 04:38 PM
  3. Good resources for maths and electronics
    By nickname_changed in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 12-22-2004, 03:23 PM
  4. A place to start - mac or pc?
    By GCat in forum C++ Programming
    Replies: 12
    Last Post: 11-19-2004, 11:21 AM
  5. i need links to good windows tuts...
    By Jackmar in forum Windows Programming
    Replies: 3
    Last Post: 05-18-2002, 11:16 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21