Skip to content
ShadmannnPublic

About

Personal notes and code examples on C programming

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

C Programming Notes

Personal study notes, architectural deep dives, and runnable code examples on the C programming language.

About This Repository

This repository documents my hands-on journey learning C from first principles, focusing on how data, memory, and types actually behave under the hood.

  • Book: The C Programming Language (2nd Edition) by Brian W. Kernighan and Dennis M. Ritchie (K&R)
  • Extended Deep Dives: Alongside the core book chapters, files include deeper explanations explored through official documentation, online resources, and AI-assisted research out of personal curiosity.
  • Self-Contained & Runnable: Every .c file combines structured notes in comments with a live program you can compile and run immediately.
  • Disclaimer: These are personal study notes and practice implementations written for learning and reference. While some code snippets are inspired by or adapted from examples in the book, all explanations are written in my own words and no copyrighted book text or PDFs are included.

How to Compile and Run Any C File

Make sure gcc (or clang) is installed on your system, navigate to the folder containing the file, and run:

Linux / macOS

gcc filename.c -o filename && ./filename

Windows (Command Prompt)

gcc filename.c -o filename.exe && filename.exe

Windows (PowerShell)

gcc filename.c -o filename.exe; .\filename.exe

(Optional: Add -Wall -Wextra—for example, gcc -Wall -Wextra filename.c -o filename—to enable extra compiler warnings.)

About

Personal notes and code examples on C programming

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages