Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Creating Command-Line App

Creating Command-Line App
Thread Tools
Forum Regular
Join Date: Oct 2000
Status: Offline
Reply With Quote
Mar 28, 2001, 04:54 AM
 
Okay... this may sound retarded but I'm just a lowly first-year CS major and I just want to use OS X's Project Builder like they make us use Microsoft's Visual C++ in labs.

So... my question is: How do I create a command-line project, e.g. I write my code, I press compile, and a terminal window shows up with my compiled app running? Is there any way to do that? Or am I forced to just create an empty project, use Project Builder for the nifty colored comments and significant keywords and then open up a terminal window, type cc etc and then run my program? And if I do have to do option B, what's the best choice to choose at the beginning when it asks you what kind of project/file to create so I can maybe still use the compiler built into Project Builder (and the compile button) so I can at least get usable error messages as opposed to the notoriously vague ones the cc in the terminal gives me?

Thanks.

-------------

The cordon bleu hobby kit
     
Admin Emeritus
Join Date: Oct 2000
Location: Boston, MA
Status: Offline
Reply With Quote
Mar 28, 2001, 06:18 AM
 
File > New Project,
Then select the tool that meets your needs (Perhaps C++ Tool for you).

The compiler built in to Project Builder is cc itself. Error messages are pretty much the same.
"Against stupidity, the gods themselves contend in vain" (Schiller)
     
   
Thread Tools
Forum Links
Forum 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 On
Top
Privacy Policy
All times are GMT -5. The time now is 09:51 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2