Thread: Command in line argument and Visual Studio

  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    26

    Command in line argument and Visual Studio

    Hi all:

    How do I add command in line arguments to a project built in Visual Studio?

    Cheers

  2. #2
    Registered User hk_mp5kpdw's Avatar
    Join Date
    Jan 2002
    Location
    Northern Virginia/Washington DC Metropolitan Area
    Posts
    3,817
    You mean that you've got the code already handling command-line arguments but you want to know how to set up the project itself to use them when running the code from within the IDE? Or do you not even have the code setup to handle command-line arguments? What version of Visual Studio?
    "Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
    -Christopher Hitchens

  3. #3
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    2008: Project->Properties->Configuration Properties->Debugging->Command Arguments

  4. #4
    Registered User
    Join Date
    Sep 2008
    Posts
    3
    Same problem here
    Last edited by Pegarus; 09-22-2008 at 11:53 AM.

  5. #5
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    Is the given solution insufficient, or is it my understanding of the problem? What version of Visual Studio?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem Compiling Program
    By wco5002 in forum C++ Programming
    Replies: 13
    Last Post: 11-06-2007, 12:56 PM
  2. Templates and Macros plus more...
    By Monkeymagic in forum C++ Programming
    Replies: 8
    Last Post: 01-20-2007, 05:53 PM
  3. using classes
    By krazykrisi in forum C++ Programming
    Replies: 9
    Last Post: 11-22-2006, 10:41 AM
  4. Erros in Utility Header File
    By silk.odyssey in forum C++ Programming
    Replies: 4
    Last Post: 12-22-2003, 06:17 AM
  5. MS Visual C++ 6 wont include vector.h in a header file
    By bardsley99 in forum C++ Programming
    Replies: 9
    Last Post: 11-06-2003, 12:05 PM