input parameter upon debugging an application
-
Hi guys, I would like to ask how to enable input parameter request upon debugging/executing an application in visual studio? I am trying to debug my c++ application and since I am used to running an application in the command line, I have no idea how to do this in visual studio. If in the command line, usual stuff would be: test 1 -> where test is the application and 1 is the parameter. Is there any way where a request for input parameter would be enabled in visual studio? Sorry, I am not that used to VS. I would appreciate any help. Thanks! :) -waxie-
-
Hi guys, I would like to ask how to enable input parameter request upon debugging/executing an application in visual studio? I am trying to debug my c++ application and since I am used to running an application in the command line, I have no idea how to do this in visual studio. If in the command line, usual stuff would be: test 1 -> where test is the application and 1 is the parameter. Is there any way where a request for input parameter would be enabled in visual studio? Sorry, I am not that used to VS. I would appreciate any help. Thanks! :) -waxie-
Hi, go to your project's properties (Solution pane, right click project) choose configuration, debugging enter the command arguments (without program name) so "1" would do. :)
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips: - make Visual display line numbers: Tools/Options/TextEditor/... - show exceptions with ToString() to see all information - before you ask a question here, search CodeProject, then Google