C++ Programming: Mac - Help!

This is a discussion on C++ Programming: Mac - Help! within the C++ Programming forums, part of the General Programming Boards category; Yeah, so I have a c++ assignment due on monday and I want/need to work on it now, problem being ...

  1. #1
    Registered User
    Join Date
    Sep 2004
    Posts
    28

    C++ Programming: Mac - Help!

    Yeah, so I have a c++ assignment due on monday and I want/need to work on it now, problem being that I'm also at a recording studio recording a demo with my band and the only available computing device is a MAC.

    There are two problems with this:

    1.) I do not know how to use a MAC.
    2.) The MAC does not have a c++ compiler on it.

    Therefore, moving towards a logical progression of thought, these are my two questions:

    1.) Where the hell can I get a c++ compiler for a MAC?
    2.) How do I install it/compile programs with said compiler?

    Any help would be appreciated.

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >1.) I do not know how to use a MAC.
    That's a bit of an issue.

    >2.) The MAC does not have a c++ compiler on it.
    It wouldn't be an issue if you knew how to use a Mac. Because you'll need to install one.

    >1.) Where the hell can I get a c++ compiler for a MAC?
    GCC has been ported to Mac.

    >2.) How do I install it/compile programs with said compiler?
    I imagine there are instructions that come with the port of GCC.
    My best code is written with the delete key.

  3. #3
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    If its running OSX it probably already has gcc. Just figure out how to open a terminal and type `gcc --version` to find out.

  4. #4
    Registered User axon's Avatar
    Join Date
    Feb 2003
    Posts
    2,572
    Quote Originally Posted by Prelude
    >1.) I do not know how to use a MAC.
    That's a bit of an issue.

    hehe, made me smile.

    some entropy with that sink? entropysink.com

    there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Mac OS X Users/C programmers?
    By petermichaux in forum C Programming
    Replies: 16
    Last Post: 04-18-2011, 06:36 AM
  2. 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
  3. Mac backup software
    By brewbuck in forum Tech Board
    Replies: 2
    Last Post: 08-12-2008, 08:21 PM
  4. Spoof MAC Address.
    By eXeCuTeR in forum C Programming
    Replies: 10
    Last Post: 02-07-2008, 04:35 PM
  5. Newbie Question - fflush(stdin) & fpurge(stdin) on Mac and PC
    By tvsinesperanto in forum C Programming
    Replies: 34
    Last Post: 03-11-2006, 11:13 AM

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