Need Mac c++ compiler

Discussion in 'C, C++, C#' started by Dragon2010, Jan 26, 2012.

  1. Dragon2010

    Dragon2010 Junior Member

    Joined:
    Jul 4, 2010
    Messages:
    112
    Likes Received:
    31
    Occupation:
    Student
    Location:
    USA
    I am taking a programming class and need a compiler for my Mac.

    The college computers are windows and have Borland c++ and ms visual c++.
     
  2. TheMatrix

    TheMatrix BANNED BANNED

    Joined:
    Dec 20, 2008
    Messages:
    3,440
    Likes Received:
    7,283
    Tried Xcode?
     
  3. Dragon2010

    Dragon2010 Junior Member

    Joined:
    Jul 4, 2010
    Messages:
    112
    Likes Received:
    31
    Occupation:
    Student
    Location:
    USA
    I have tried but I could never get it to work. I'll try it again later though. Also is it easy to transfer the code between windows and mac compilers?
     
  4. sirgold

    sirgold BANNED BANNED

    Joined:
    Jun 25, 2010
    Messages:
    1,260
    Likes Received:
    647
    GNU gcc/g++ (or llvm clang). Standard GNU c++ toolchain for Darwin BSD (Mac OS X) will get the job done.

    Porting native Win32 API or MFC c++ code to Mac OS X is something you certainly don't want to get stuck with. You'll need a cross platform framework.

    There are several choices out there but, I'd go with QT: mature, well supported, brilliantly designed and totally looking native on each OS. Nokia (they're the owners) should have an entire IDE for Apple mac too.
     
    Last edited: Jan 27, 2012
  5. Robvandam

    Robvandam Junior Member

    Joined:
    Jun 17, 2011
    Messages:
    152
    Likes Received:
    30