New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

C Programming in Terminal???


Post Reply New Thread Subscribe

 
Thread Tools
dcwang3

 
Member Since: Nov 16, 2007
Posts: 14
dcwang3 is on a distinguished road

dcwang3 is offline
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...
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
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.
QUOTE Thanks

Post Reply New Thread Subscribe


« php question | iweb publishing a website question. »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Terminal issue sarjas OS X - Apps and Games 1 01-02-2008 10:30 PM
Terminal problems please help CliveO OS X - Operating System 6 03-20-2007 10:04 AM
Terminal Problem WROC OS X - Apps and Games 5 01-09-2007 04:01 PM
Problems with the Terminal DaedalusBTJ OS X - Development and Darwin 1 02-13-2006 08:52 PM
Terminal Help rs2sensen OS X - Apps and Games 1 04-25-2005 10:52 PM

All times are GMT -4. The time now is 07:20 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?