I change that line to
"code-runner.executorMap": {
"cpp": "cd $dir && g++ -std=c++14 *.cpp -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
},
Now it works like a charm.
More Related Contents:
- Enable or disable VS Code Integrated Terminal Tabs?
- How do I hide certain files from the sidebar in Visual Studio Code?
- How to make VS Code treat a file extensions as a certain language?
- Open files always in a new tab
- Why are there grey blocks of color on the VS Code editor window?
- Vertical rulers in Visual Studio Code
- Install a Nuget package in Visual Studio Code
- How can I navigate back to the last cursor position in Visual Studio Code?
- LaTeX fraction snippets in VSCode
- Switch focus between editor and integrated terminal
- How to add multiple terminals in VS Code?
- Create Custom Language in Visual Studio Code
- How to trigger documentation popup in vscode
- How do you determine which formatter is being used for VS Code?
- How do I see a bin file in a hex editor in Visual Studio Code?
- Why do I keep getting “[eslint] Delete `CR` [prettier/prettier]”?
- How to correctly set PYTHONPATH for Visual Studio Code
- How can I open Visual Studio Code’s ‘settings.json’ file?
- How can you disable Gutter Indicators in VS Code?
- Prevent autocomplete in Visual Studio Code
- Visual Studio Code. why are the window control buttons over the menu bar on the left side?
- How to add a @tailwind CSS rule to CSS checker
- How to add semicolon to the end of the line in visual studio code
- How do I set the default browser as chrome in Visual Studio Code?
- Is there a way to make the terminal in VSCode take up the entire width of the application even if the sidebar is open?
- What are ALL configuration files used by Visual Studio Code?
- What is the migration procedure for moving from Windows system-wide Visual Studio Code to user setup?
- How can I globally set the PATH environment variable in VS Code?
- How to prevent Visual Studio Code from always reopening the previous files or folders?
- How can I enable the VS Code Color Picker outside of CSS-like scopes? [duplicate]