How to setup VS Code to run code in external terminal like CodeBlocks or Microsoft VS?

Опубликовано: 28 Сентябрь 2024
на канале: A C++ Enjoyer
4,129
65

This video will:
1. Show you the code that causes Code runner extension to run code similar to code::blocks.

Code that makes it possible:
"cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt && start cmd /k \"$dir$fileNameWithoutExt\"",

The Original:
"cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",

Thumbnail info:
Thinking Icon reference: Thinking Face icon by Icons8
Gear Icon reference: Settings icon by Icons8