new programmer

Discussion in 'Mac Programming' started by RUFFLZ, Apr 5, 2011.

  1. RUFFLZ, Apr 5, 2011
    Last edited: Apr 5, 2011

    macrumors newbie

    Joined:
    Jan 13, 2011
    #1
    Just enrolled in my first programming class.
    just wondering what a good c compiler and editor is?
    have a download for jGRASP but dont really like it too much.
    any recommendations for FREE editors and compilers?
     
  2. macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #2
    Just get Xcode. It includes everything you need. I think it costs £2.99 nowadays on the Mac App Store.

    As for an editor something like Text Wrangler, MacVim or BBEdit would do everything you need. Stay clear of Xcode itself until you have learned the basics of programming and got used to using the compiler on the command line.

    Nice ninja edit.

    You can't afford £3? Seriously?
     
  3. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #3
    Xcode 3 is free.
     
  4. Moderator

    balamw

    Staff Member

    Joined:
    Aug 16, 2005
    Location:
    New England
    #4
  5. holmesf, Apr 5, 2011
    Last edited: Apr 5, 2011

    macrumors 6502a

    Joined:
    Sep 30, 2001
    #5
    If you're willing to put up some effort to learn the command line, try GCC. It will be installed along with XCode if you follow the directions mentioned by one of the above posters. You can then use any text editor you'd like, my preference is TextWrangler. If you're going to follow up this class with more programming classes command line knowledge will give you an advantage.

    If you don't want to program on command line then you probably want to use XCode, which is what most Mac developers choose. Another option is to use Eclipse, which is cross platform and widely used. It would probably be fine for your class, but serious Mac programmers would choose XCode.

    Yeah, I can't say why you would want to use jGrasp as a beginner. Sounds like your professor is trying to plug it :)
     
  6. thread starter macrumors newbie

    Joined:
    Jan 13, 2011
    #6
    well we're using emacs and the gcc compiler in class, but thats running on linux. so i wanted something easy to use on my macbook!
     
  7. macrumors 6502a

    Joined:
    Sep 30, 2001
    #7
    You can use gcc and emacs on your macbook just fine. Both will be available to you if you install XCode. It might make your life easier to use the same tools.
     
  8. Moderator

    balamw

    Staff Member

    Joined:
    Aug 16, 2005
    Location:
    New England
    #8
    Seconded. emacs is pre-installed and gcc comes after you install Xcode. Or you can install Aquamacs and the gcc from hpc.

    You could even consider installing a Linux VM in Virtualbox to be 100% compatible.

    B
     
  9. macrumors 6502a

    Joined:
    Dec 29, 2009
    #9
    Eclipse, NetBeans and Xcode are great options. I would go with Xcode though.
     
  10. macrumors 6502

    cybrscot

    Joined:
    Dec 7, 2010
    Location:
    Somewhere in Southeast Asia
    #10
    Hello, I'm new too, i've been using TextWrangler since December. I like it just fine. I downloaded XCode for free from Apple.
     

Share This Page