Specifying Command-Line Arguments with Visual Studio 2008
In the real world, an end user supplies the command-line arguments used by a given application
when starting the program. However, during the development cycle, you may wish to specify possi-
ble command-line flags for testing purposes. To do so with Visual Studio 2008, double-click the
Properties icon from Solution Explorer and select the Debug tab on the left side. From here, specify
values using the Command line arguments text box (see Figure 3-3).
Figure 3-3.
Setting command arguments via Visual Studio 2008
C H A P T E R 3
■
C O R E C # P R O G R A M M I N G C O N S T R U C T S, PA RT I
74
8849CH03.qxd 9/24/07 11:07 AM Page 74
Do'stlaringiz bilan baham: |