Compiling and running C++ using Atom on Windows 10

How do I compile and run a C++ program on Windows 10 using either Atom or Visual Studio 2019? I have written the code for my first C++ program, but the program won’t compile or run. Please tell me how to do this in English.

Thanks,

Andrew Robins
521 Lorraine Avenue, Bowling Green OH 43402
e-mail: robinsandrew6@gmail.com
cell phone number for texting and calling: 419-601-4965
future online Masters’ student at Colorado Technical University

Atom itself is not an IDE, just an editor.

I have no experience with it myself, but it looks like the functionality you want is provided by

Under Windows, the package supports the MinGW compiler.