CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2000
    Location
    austin
    Posts
    101

    How specifiy command line option?

    how do i specify command line options (arguments to my program) when i'm running my console app from vc++ 6.0? my main is declared as follows:
    int main(int argc, char** argv) {
    return 0;
    }

    thanks for the help...

    -christopher bottaro
    [email protected]

  2. #2
    Join Date
    Sep 2001
    Location
    San Diego
    Posts
    2,147

    Re: How specifiy command line option?

    To pass parameters to the application, go to Project|Settings from the menu, then hit the Debug tab. Select 'General' category from the dropdown, then enter your params in the 'program arguments' edit box.

    - Nigel





Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured