norman's blog

Notes of an amnesiac.
Never stop thinking.
Find an aesthetic description.

Thursday, April 30, 2009

visual studio

To run your project with command line arguments within Visual Studio:

  1. Right-click the default project (the one to be run) in Visual Studio and select "Properties".
  2. Click on the "Debuging" tab on the left.
  3. Enter your command line arguments in the textbox labeled "Command arguments".
  4. Save the updated properties and run the project.
To add .dll file to Windows: Add path to the Environment Variable: PATH in the System Properties(Right click "My computer"). To add search dir for VC++ 2008 Express: Tools-->Options-->Projects and Solutions-->VC++ Directories(for) To add .lib file to projects:
  1. Right-click the default project (the one to be run) in Visual Studio and select "Properties".
  2. Click on the "Linker" tab on the left.
  3. add lib to "Additional Dependencies".
  4. Save the updated properties and run the project.

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home