• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Example Standard XCode projects handlinig command line parameters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Example Standard XCode projects handlinig command line parameters


  • Subject: Example Standard XCode projects handlinig command line parameters
  • From: "Keith Hutchison" <email@hidden>
  • Date: Sat, 18 Mar 2006 16:26:47 +1100

I'm writing a small utility to accept parameters like
pgcl -h 192.168.27.97 -p 5432 -u someName -p somePassword -d
someDatabase -s someSQL > someDelimitedResult
to connect to remote postgresql database and run some sql.

I have a command line project working, and I'm currently hardcoding
the variables.

Anyone know of a c and/or a c++ example program/project showing how to
handle command line arguments within an Xcode project?

--
Keith Hutchison
http://balance-infosystems.com http://realopen.org
http://www.kasamba.com/Keith-Hutchison
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Example Standard XCode projects handlinig command line parameters
      • From: "Justin C. Walker" <email@hidden>
  • Prev by Date: Re: C++ and odd pthread behavior
  • Next by Date: Re: Example Standard XCode projects handlinig command line parameters
  • Previous by thread: Re: local relocation entries in non-writable section
  • Next by thread: Re: Example Standard XCode projects handlinig command line parameters
  • Index(es):
    • Date
    • Thread