Command Line input testing

D

David A. Osborn

I'm writing a console program that takes input via the command line. Is
there a way to pass these command line parameters while testing in Visual
Studio? It's a real pain to keep creating the .exe and opening a command
prompt.
 
R

Ron Bremmers

Go to the project properties.
Expand the Configuration Properties node.
Select debugging.

At the Start Options section you can define command line arguments.

Ron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top