You should always state which version of Visual Studio
or Visual C++ you're using, as the exact instructions may
vary across versions and editions.
By way of a general visual assist to the suggestion from
RLWA32, the steps to get to the properties described in
the page provided are generally as follows:
In the Solution Explorer window, right-click the mouse
on the Project node.
On the menu that pops up, scroll to the bottom and
click on the Properties link.
A Properties Page should appear that looks more or less
like this pic from VS 2017.
Select the "Debugging" property, and in the pane
on the right enter your command line arguments
where shown.
- Wayne