VS Code Setup for C Programming सी प्रोग्रामिंग के लिए वीएस कोड सेटअप

Visual Studio Code (VS Code) is a modern and lightweight code editor used for C programming. It supports extensions, terminal access, debugging, and compiler integration.

Visual Studio Code (VS Code) एक modern और lightweight code editor है जिसका उपयोग C programming के लिए किया जाता है। यह extensions, terminal, debugging तथा compiler integration को support करता है।


Step 1: Download VS Code
Step 1: VS Code डाउनलोड करें

Official Download Link:
Download VS Code


Step 2: Install MinGW Compiler
Step 2: MinGW Compiler Install करें

Official Download Link:
Download MinGW-w64

After installation:

  • Copy MinGW bin folder path

  • Add it to Environment Variables → PATH

Installation के बाद:

  • MinGW bin folder path copy करें

  • उसे Environment Variables → PATH में जोड़ें


Step 3: Install C/C++ Extension
Step 3: C/C++ Extension Install करें

Open VS Code → Extensions → Search:

C/C++ by Microsoft

Install the extension.


Step 4: Verify GCC Installation
Step 4: GCC Installation Check करें

Open terminal and type:

gcc --version

If version details appear, setup is complete.

यदि version details दिखाई दें तो setup सफल है।


Step 5: Write and Run Program
Step 5: Program Run करें

#include<stdio.h>
int main()
{
printf("Hello World");
return 0;
}

Compile:

gcc hello.c -o hello

Run:

hello

Output
आउटपुट

Hello World

VS Code with MinGW provides a simple and powerful environment for C programming on Windows systems.

VS Code तथा MinGW मिलकर Windows systems पर C programming के लिए एक सरल एवं शक्तिशाली environment प्रदान करते हैं।

Comments

Popular posts from this blog

C Language Topics in Hindi and English

Top High-Paying Tech Skills to Learn in 2025

Advanced C Programming Language IMP Questions for BSc/BA/BCom/BCA/BE/BTech/MSc/MCA (CS/IT) Students