Installing C with Dev-C++

 

💻 Installing C with Dev-C++ (Step-by-Step Guide)

Dev-C++ is a simple IDE (software) used to write and run C programs easily 👍


🔹 What is Dev-C++?

Dev-C++ is a free software that includes:

  • Editor (to write code ✍️)
  • Compiler (to run code ⚙️)

🔹 Step 1: Download Dev-C++

  1. Go to official or trusted website (like SourceForge)
  2. Search for Dev-C++ latest version
  3. Download the setup file

👉 Recommended: Dev-C++ (Orwell / Embarcadero version)


🔹 Step 2: Install Dev-C++

  1. Open the downloaded .exe file
  2. Click Next → I Agree
  3. Choose installation folder
  4. Click Install
  5. Finish installation ✅

🔹 Step 3: Open Dev-C++

  • After installation, open Dev-C++
  • You will see the main interface (editor screen)

🔹 Step 4: Create Your First C Program

  1. Click File → New → Source File
  2. Write this code:
#include <stdio.h>

int main() {
printf("Hello, World!");
return 0;
}

🔹 Step 5: Save the File 💾

  • Click File → Save As
  • Save with .c extension
    👉 Example: hello.c

🔹 Step 6: Compile and Run ▶️

  • Press F11 or click Execute → Compile & Run

🎉 Output:

Hello, World!

🔹 Important Tips ⚠️

  • Always save file with .c extension
  • If error comes → check semicolon ; and spelling
  • Use F11 to quickly run program

🔹 Alternative Software (Optional)

If Dev-C++ feels outdated, you can also try:

  • Code::Blocks
  • Visual Studio Code

🔹 Summary 📝

  • Download Dev-C++
  • Install it
  • Write C program
  • Compile & Run

Comments

Popular posts from this blog

Introduction to Computer

History of Computer

Computer Generation