Input parameters for visual studio
-
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-
Which version of visual studio you are using. You can specify command line arguments while debugging, by using following options, 1. On VC 6.0 ,
project settings-->debug-->program arguments
. 2. On VS2005 ,Project settings-->Config. properties-->debugging-->command arguments.
Prasad MS MVP - VC++