Fortunately, Visual Studio Code has a little terminal you can use to run commands without needing to swap between windows.
Visual Studio Code is by far one of the most advanced IDE that one can get right now. It features easy compilation, intelligence, and more. There is a way to add more features to your C++ coding ...