How To Run Command Line Arguments Program In Dev C++

Download and install the tools

How to use the command-line tools

Developer command prompt shortcuts

  • Developer Command Prompt — Sets the environment to use 32-bit, x86-native tools to build 32-bit, x86-native code.
  • x86 Native Tools Command Prompt — Sets the environment to use 32-bit, x86-native tools to build 32-bit, x86-native code.
  • x64 Native Tools Command Prompt — Sets the environment to use 64-bit, x64-native tools to build 64-bit, x64-native code.
  • x86_x64 Cross Tools Command Prompt — Sets the environment to use 32-bit, x86-native tools to build 64-bit, x64-native code.
  • x64_x86 Cross Tools Command Prompt — Sets the environment to use 64-bit, x64-native tools to build 32-bit, x86-native code.

To open a developer command prompt window

  1. On the desktop, open the Windows Start menu, and then scroll to find and open the folder for your version of Visual Studio, for example, Visual Studio 2019.
  2. In the folder, choose the Developer Command Prompt for your version of Visual Studio. This shortcut starts a developer command prompt window that uses the default build architecture of 32-bit, x86-native tools to build 32-bit, x86-native code. If you prefer a non-default build architecture, choose one of the native or cross tools command prompts to specify the host and target architecture.

Developer command file locations

How To Run Command Line Arguments In Dev C++

Use the developer tools in an existing command window

vcvarsall syntax

How To Run Command Line Arguments In C In Dev C++

To set up the build environment in an existing command prompt window

  1. At the command prompt, use the CD command to change to the Visual Studio installation directory. Then, use CD again to change to the subdirectory that contains the configuration-specific command files. For Visual Studio 2019 and Visual Studio 2017, use the VCAuxiliaryBuild subdirectory. For Visual Studio 2015, use the VC subdirectory.
  2. Enter the command for your preferred developer environment. For example, to build ARM code for UWP on a 64-bit platform, using the latest Windows SDK and Visual Studio compiler toolset, use this command line:
  3. vcvarsall.bat amd64_arm uwp

Create your own command prompt shortcut

Command-line tools

In this section

Related sections

See also

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to Launch a Distributed Tracing MVP with Just 50 Lines of Code

Compiling imagemagick with HEIC support in heroku(ubuntu)

Use A Flight API To Get Flight Data Of Garuda Indonesia Airline

Can you give a basic idea about the L&T Infotech placement test?

Accessing Azure Key Vault secrets from Kubernetes

Application secrets should be properly protected

How Using React Dev Tools Made Me Better Developer

Man reading book

Day 7: Another Challenge To Overcome

Benefit Your Company from Customer Profiling for Free

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
mastersclever

mastersclever

More from Medium

Starter Algorithms — Fibonacci Series

How to install Python and set up a virtual environment

First Python Project! (Tic-Tac-Toe)

Troubleshooting basics with Github