Results 1 to 2 of 2
  1. #1

    Member Since
    Nov 16, 2007
    C Programming in Terminal???
    hey guys

    I'm in a C Programming Class, and right now I'm using cygwin which I do not like. How do I use terminal in Mac? What editor do I use so I can just name it as .c (because I know text editor has many extensions)? How do I compile it using the gcc code? Thanks

    I just need it to do the basic stuff...

  2. #2

    xstep's Avatar
    Member Since
    Jun 25, 2005
    On the road
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    Install the Cocoa developer tools that came with your install disc. You can tell TextEdit to save the files in plain text and without the .txt extension using it's preferences. Then to compile just use the cc or gcc command. You can look that up via the man pages while you are in Terminal.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Is it possible to send your programming code to remote server? Through terminal?
    By walkingon2001 in forum macOS - Development and Darwin
    Replies: 3
    Last Post: 02-21-2013, 10:36 PM
  2. Month in Terminal is in Russian - only in Terminal!
    By yoandrew in forum macOS - Operating System
    Replies: 4
    Last Post: 12-29-2012, 09:20 AM
  3. Replies: 1
    Last Post: 05-29-2012, 05:32 PM
  4. Programming
    By powertrustfast in forum Schweb's Lounge
    Replies: 1
    Last Post: 01-18-2009, 09:37 PM
  5. Programming in OS X
    By Prometheus in forum macOS - Development and Darwin
    Replies: 1
    Last Post: 12-11-2004, 09:38 AM

Posting Permissions

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