I want to run the visual C++ projects with the command line arguments. How can I give these arguments in project settings? or How can I run these project from command prompt?

Thanks!

How can I give these arguments in project settings?

If you are using Visual Studio 6.0 You can
-Project--->Settings--->Debug Tab---->Project Arguments

If you are using Visual Studio .NET
-Project-->Properties--->Configuration Properties--->Command Arguments

How can I run these project from command prompt?

OPen a Command Prompt
Go to the Dubug or Release Folder of your Project.
Type the name of the Executable and the desired Command line Arguments.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.