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 > Command Line Arguments?

Command Line Arguments?
Thread Tools
jessejlt
Mac Enthusiast
Join Date: Feb 2003
Location: Portland, Oregon
Status: Offline
Reply With Quote
Jan 9, 2004, 02:49 AM
 
I'm a CS student and some of my C / C++ projects require command line arguments. I do as much of my work as possible in Xcode, but I'm unable to figure out how to run / debug C / C++ programs in Xcode while supplying command line arguments. Is it possible? If so, help a guy out please.

Danka;
jesse ;-)
     
proton
Senior User
Join Date: Nov 2000
Status: Offline
Reply With Quote
Jan 9, 2004, 08:21 AM
 
Select the Executables section in the left hand pane of the Xcode window. Click on the executable you're working with in the right hand pane. You can set parameters that will be used when the application is launched within Xcode here (you'll need to double-click if you're not using the in-window editor).

- proton
     
   
 
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
Top
Privacy Policy
All times are GMT -4. The time now is 07:03 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,