Skip to content

narg95/vscode-c14

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Programming C++ with VSCode

This repository has the basic setup to compile C++14 code using VSCode on MacOS.

Install

  1. Clone the repository. By default it expects the main file main.cc.

  2. Install the vscode extension cpptools code --install-extension ms-vscode.cpptools .

  3. run chmod +x ./tasks.sh

Tasks

It provides three main Tasks:

  • ./tasks.sh build: Builds main.cc
  • ./tasks.sh run: Builds and runs main.cc
  • ./tasks.sh watch: Watch for **/*cc file changes and execute build && run

The same task are available for the vs task runner, press ctrl+shift+p and type Run Taks and select the tasks you want to run.

About

Setup for Visual Studio Code with C++14

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published