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 > Compiling C++ files in Xcode

Compiling C++ files in Xcode
Thread Tools
RDG
Fresh-Faced Recruit
Join Date: Feb 2007
Status: Offline
Reply With Quote
Feb 23, 2007, 08:37 AM
 
Hi, I'm very new to the C++ language so I only do these simple programs that don't have a GUI. I use Xcode 2.4.1. So I write the code, then I click Build, and then Run. The problem is that when I run my program the I/O appears there, in Xcode. I want it to appear in Terminal or in System Console. So I changed the preferences to "Use Pseudo Terminal for standard input/output. This doesn't change anything. I tried running the executable found in the Debug folder but nothing happens when I do. Can anyone help me here?

Thanks
     
Mac Elite
Join Date: Mar 2001
Location: England
Status: Offline
Reply With Quote
Feb 23, 2007, 10:56 AM
 
Set it to build for release, rather than debug. Build again. Then run the executable it creates from the Finder.
What the nerd community most often fail to realize is that all features aren't equal. A well implemented and well integrated feature in a convenient interface is worth way more than the same feature implemented crappy, or accessed through a annoying interface.
     
   
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 02:47 PM.
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