0

I started learning C ++ on VScode but prefer to create projects in cmd. When I found out, I could not use the cl command on cmd even though I have installed buildtools 2019 already. Help me! enter image description here

2
  • 1
    Download Visual Studio, then use msbuild to build your projects from the command line. Commented Apr 9, 2019 at 12:23
  • Search for the "Developer Command Prompt for VS 2017" shortcut, it opens an instance of cmd with the appropriate environment variables. Commented Apr 9, 2019 at 12:23

1 Answer 1

2

You need to open an "Developer Command Prompt" and run the command there.

enter image description here

Sign up to request clarification or add additional context in comments.

2 Comments

Use the x64 one if you want to build a 64 bit application. I mention this because in 2019 it is rare that I build 32 bit builds.
Thank you very much

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.