Thread: Parameters

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    20

    Parameters

    Instead of my program executing by just typing it's name in the command prompt, how would i give it parameters. For instance, the user would execute the program by issuing the command progname [parameter 1] [parameter 2].

  2. #2

  3. #3
    Registered User
    Join Date
    Aug 2004
    Posts
    20
    Thank you. Sorry for posting without checking the FAQ first.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 6
    Last Post: 07-21-2008, 06:04 AM
  2. function with variable number of parameters
    By mikahell in forum C++ Programming
    Replies: 3
    Last Post: 07-23-2006, 03:35 PM
  3. Additional parameters for operator delete
    By darksaidin in forum C++ Programming
    Replies: 0
    Last Post: 09-21-2003, 11:46 AM
  4. Passing parameters from VB to C++ through ActiveX DLL
    By torbjorn in forum Windows Programming
    Replies: 0
    Last Post: 12-10-2002, 03:13 AM
  5. command-line parameters.
    By Tombear in forum C Programming
    Replies: 2
    Last Post: 10-28-2001, 08:40 AM