Install The Visual Studio Code Build Tools With The Windows 10 Sdk

Netbeans will automatically start a build. You can then open the source main.cpp file and edit it in Netbeans and use netbeans Build (hammer) or Clean and build buttons (hammer and broom) to rebuild the project.