Skip to content

Instantly share code, notes, and snippets.

View aman-shaw's full-sized avatar

Aman Shaw aman-shaw

  • Kolkata, India
View GitHub Profile
@akanshgulati
akanshgulati / tasks.md
Last active April 23, 2024 17:48
Visual Studio Code task to compile and run C programs

Introduction

The below code is the configuration for the Microsoft Visual Code tasks which will enable you to compile and run C program

Steps

  1. Press Cmd + Shift + P
  2. Type Configure task ( A task.json file will be created for that project )
  3. Copy below configuration code and save it.

Usage

Simple press Cmd + Shift + B to compile and run.

Note: Make sure you select the tab having C program as below tasks run on active tab in VS Code.