Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,30 @@ This repository contains organized learning materials covering all fundamental C

### Prerequisites
- GCC compiler (GNU Compiler Collection)

## Installing GCC (GNU Compiler Collection)

GCC is required to compile and run C programs. Follow the steps below
Comment thread
coderabbitai[bot] marked this conversation as resolved.
based on your operating system.

### Windows
1. Download and install **MinGW-w64** or **TDM-GCC**.
2. During installation, make sure to select the option to add GCC to the system PATH.
3. After installation, open Command Prompt and verify:
gcc --version
Comment on lines +55 to +60
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Fix inconsistent code block formatting.

The verification command gcc --version should be in a code block for consistency with the Linux and macOS sections.

🔧 Proposed fix
 ### Windows
 1. Download and install **MinGW-w64** or **TDM-GCC**.
 2. During installation, make sure to select the option to add GCC to the system PATH.
 3. After installation, open Command Prompt and verify:
-gcc --version
+   ```bash
+   gcc --version
+   ```
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
### Windows
1. Download and install **MinGW-w64** or **TDM-GCC**.
2. During installation, make sure to select the option to add GCC to the system PATH.
3. After installation, open Command Prompt and verify:
gcc --version
### Windows
1. Download and install **MinGW-w64** or **TDM-GCC**.
2. During installation, make sure to select the option to add GCC to the system PATH.
3. After installation, open Command Prompt and verify:
🤖 Prompt for AI Agents
In `@README.md` around lines 55 - 59, In the Windows section the verification
command `gcc --version` is not in a code block; update the Windows block (the
"Windows" heading and its bullet list) to wrap the verification command in a
fenced code block (use ```bash on the opening fence and ``` on the closing
fence) so it matches the Linux/macOS formatting and shows the command as code.


### Linux (Ubuntu / Debian)
Open a terminal and run:
```bash
sudo apt update
sudo apt install build-essential
gcc --version
```
### macOS
```bash
xcode-select --install
gcc --version
```
Comment thread
Tushar15769 marked this conversation as resolved.
Outdated
- Basic understanding of programming concepts (helpful but not required)

### Running Your First Program
Expand Down