Parameters

This is a discussion on Parameters within the C++ Programming forums, part of the General Programming Boards category; Instead of my program executing by just typing it's name in the command prompt, how would i give it 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, 07:04 AM
  2. function with variable number of parameters
    By mikahell in forum C++ Programming
    Replies: 3
    Last Post: 07-23-2006, 04:35 PM
  3. Additional parameters for operator delete
    By darksaidin in forum C++ Programming
    Replies: 0
    Last Post: 09-21-2003, 12:46 PM
  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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21