formulahendry / formulahendry/vscode-code-runner

Update default settings of code-runner.executorMap to support c++11 or higher versions

Open
#397 6 comments 8 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.4k
Forks
351
PR merge metrics
No merged PRs in 30d

Description

Could you please add "-std=c++11" or the higher version to code-runner.executorMap in the default settings?

It doesn't recognize many improvements in C++ after c++11, and fails. I am very new to VS Code and spent several hours to figure this out.

```
"code-runner.executorMap": {
...
"cpp": "cd $dir && g++ -std=c++11 $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
...
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.