Results 1 to 4 of 4
  1. #1
    C ++ help please

    Member Since
    Mar 11, 2007
    Posts
    5
    C ++ help please
    Hello. I've just started Electronics Eng at Uni, and we have started writing programs in 'C'. It is all completely new to me. Does anybody know if it is possible to run C on a mac?

    For info, I have a Intel based iMac.

    Cheers.

  2. #2
    C ++ help please
    novicew's Avatar
    Member Since
    Jan 04, 2006
    Location
    Hamburg, Germany
    Posts
    1,385
    Specs:
    MacBook Pro | iMac(2.1 G5) | MacBook(2.16 C2D) | MacMini (1.67 CD) | iPhone 4 | iPad (3rd Gen)
    Yes. C & C++ both can write/compile/execute on a Mac. Just install the XCode2 to get all the required tools. Once its all there (gcc, g++, etc.,), you can start writing in the Terminal or on a preferred GUI.

  3. #3
    C ++ help please

    Member Since
    Mar 11, 2007
    Posts
    5
    Thanks for the reply, but my computing skills, in general, are quite limited. I have no idea what 'xcode2' is, nor do I know what g++ is. At Uni we where using the Bloodshed C program, so I was looking for a way to run that on a mac, or something similar.

    Thanks again for your help.

  4. #4
    C ++ help please

    Member Since
    Oct 07, 2005
    Location
    Seattle
    Posts
    346
    Specs:
    MBP CD 1.83/2ghz/7200 100g + Mini 2ghz C2D 2gb + Mini 1.42ghz G4 + PM 7200/120 + Newton OMP
    Xcode is the suite of development tools that comes with Mac OSX. By default it is not installed, but can be found by performing a custom install from the OSX installer DVD that came with your computer (or downloaded from the development area of Apple's website).

    Bloodshed appears to be a graphical front end to the gcc compiler, just as Xcode is (among other things) a front end to the gcc compiler.

    In other words, unless you are developing code that is specific to the Windows environment, you can use Xcode on your Mac to develop the same applications.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •