HELP: new mac user, doing c++

Discussion in 'Mac Programming' started by jeffry, Dec 7, 2010.

  1. jeffry macrumors newbie

    Joined:
    Dec 7, 2010
    #1
    hi, im new to mac, and i need it to do some c++, i used to write in dev-cpp, i have downloaded eclipse but its not working, it said "launch failed. binary not found"
    so i download Xcode 3.2.5, but i don't really understand how can i do things in Xcode , i can't compile and run the code i wrote in dev-cpp..

    thanks for help
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    Why not? Be specific. Post error messages.

    To setup a project for a basic command line tool: File > New Project > (Mac OS X) Application > Command Line Tool, and set Type to "C++ stdc++". First compile that project to make sure your environment is working properly, then plug in your code.
     
  3. Detrius macrumors 68000

    Joined:
    Sep 10, 2008
    Location:
    Asheville, NC
    #3
    Also, now that you have Xcode installed, Eclipse may start working, as Xcode provides the compiler that Eclipse needs.
     

Share This Page