Skip to content

Follow README.md to setup CPP Environment for VS Code

Notifications You must be signed in to change notification settings

intrepid-ishan/vs-setup-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vs-setup-cpp

Step1

Dowload the two Extensions mentioned below

i) C/C++ by Microsoft ii) Code Runner by Jun Han

Step2

Go to below path and {Enable:"Run Code in Terminal"}

File-->Preferencs-->Settings-->Extensions-->Run Code config-->{Enable}

Step 3

Press Ctrl+Shift+P and type "Tasks: Configure tasks" it will open tasks.json

Step 4

Press Ctrl+Shift+D, then Click on Green Icon(start debugging) and choose "C++ (GDB/LLDB)". It will open lauch.json

Step 5

Use the configured files launch.json and tasks.json from above folder .vscode

Step 6

Press Ctrl+` to use terminal.

Complile: g++ filename.cpp and Run: ./a.exe. Also, Debugging is enabled(Ctrl+Shift+D)

Feel free to ask me any questions at ishan.makadia@gmail.com

About

Follow README.md to setup CPP Environment for VS Code

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages