bsc

Comprehensive codebase and cou...
Log | Files | Refs | README | LICENSE

commit 800581a0c2460c73a8341e3cc1fdab8dc6dae3e7
parent 64bd795e96924bae172d57763bc5279c73875fa9
Author: Amit Dutta <amitdutta4255@gmail.com>
Date:   Fri, 10 Oct 2025 20:27:09 +0530

new docs for github pages

Diffstat:
Mdocs/index.md | 123+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 123 insertions(+), 0 deletions(-)

diff --git a/docs/index.md b/docs/index.md @@ -1 +1,123 @@ +## License +This project is licensed under the MIT License – see the [LICENSE](LICENSE) file for details. +--- + +# 🎓 B.Sc. CS Hons – Programs + +This repository contains **Files of codes that will be done in this 4-year BSc Hons Computer Science** + +--- + +## 📂 Contents + +* ✅ C Source Codes (`.c`) +* ⚡ Executables (`.exe`) + +--- + +## 🚀 How to Run + +```bash +# Compile using GCC +gcc program.c -o program.exe + +# Run the executable +./program.exe +``` + +### 📌 Example Program (Factorial) + +```c +#include <stdio.h> +int main() { + int n, fact = 1; + printf("Enter a number: "); + scanf("%d", &n); + for(int i=1; i<=n; i++) { + fact *= i; + } + printf("Factorial = %d", fact); + return 0; +} +``` + +--- + +## 🛠️ MinGW-w64 Installation Guide: Your C/C++ Compiler Setup + +This guide will walk you through the process of setting up your GCC/G++ compiler environment using the packaged MinGW-w64 distribution. + +### Step 1: Download the Compiler Archive + +Download the compressed MinGW-w64 files from the hosted location. + +> ➡️ **Download Link:** [**Direct Download MinGW64.zip (85 MB)**](https://aranag.site/download/MinGW64.zip) + +### Step 2: Extract the Files + +Once the download is complete, extract the contents of the `MinGW64.zip` file to a simple, root-level folder. + +1. **Extract the contents** of the zip file. + +2. **Move the resulting folder** to a short, easy-to-reference path. + +3. **Recommended Path:** `C:\MinGW64` + +### Step 3: Add the Tools to Your System PATH + +Adding the `bin` directory to your PATH variable allows you to run `gcc` or `g++` from any terminal window without navigating to the installation folder every time. + +1. **Open System Settings:** Open the Start Menu and search for **"Edit the system environment variables"**. + +2. **Open Variables Window:** Click the **"Environment Variables..."** button. + +3. **Edit Path:** Under the **"System variables"** section, select the **`Path`** variable and click **"Edit..."**. + +4. **Add New Entry:** + + * Click **"New"**. + + * Paste the path to your installation's binary directory: `C:\MinGW64\bin` + +5. **Save Changes:** Click **`OK`** on all open windows to finalize the system changes. + +### Step 4: Verify the Installation + +To ensure the compiler is correctly set up and accessible, open a new command line session and run a simple check. + +1. **Open a NEW Terminal:** Close any existing Command Prompt or PowerShell windows, and open a fresh one. + +2. **Run the Test Command:** Type the following command: + + ``` + gcc --version + ``` + +3. **Expected Result:** If successful, you should see the version information for the GCC compiler (e.g., `gcc (MinGW.org GCC-6.3.0-1) 6.3.0`). + +> 🎉 **Congratulations!** Your C/C++ development environment is now ready. + +> If you do not want to work that much, just go to this [website](https://www.programiz.com/c-programming/online-compiler) and run your programs. + +--- + +🔗 **Website** +For syllabus questions: +👉 [Click Here](https://aranag.site/github) + +🔗 **Website** +For all tution code: +👉 [Click Here](https://aranag.site/tuition-c) + +--- + +## 👨‍💻 Author + +### Amit Dutta + +* 📧 **amitdutta4255@gmail.com** + +* 🌐 [**GitHub Profile**](https://github.com/notamitgamer) + +---+ \ No newline at end of file
© notamitgamer • Site Built: 2026-07-21 13:58:23 UTC • git-mirror commit: 1037f62 [view raw info]
Originally created with stagit • modified by notamitgamer
Forked from github.com/notamitgamer/git-mirror