Hey! I'm Prakhar, and this repository contains a collection of beginner-friendly C language projects and programs. These were created while I was learning C and exploring how the language can be used to build simple but practical applications.
If you're just starting with C programming, these examples are a great way to understand the fundamentals and how to apply them in real-world-style mini-projects.
- Hourglass Pattern: A pattern-printing program using nested loops.
- Library Management System: A basic system to manage books and users using file handling in C.
- Mini Calculator: Perform basic arithmetic operations (add, subtract, multiply, divide).
- Tic Tac Toe Game: Console-based two-player game logic.
- Calendar Sample: A basic program demonstrating date and loop logic.
- Simple Calculator (calculator.c): Another version of a basic calculator.
- Correction Work: Miscellaneous fixes or learning experiments.
- Library Data File (library.dat): Binary file used in the Library Management System.
- Loops and conditionals
- Functions
- File handling (
.dat
files) - Arrays and matrices
- User input/output
- Modular programming and logic building
This repo is meant to help others (and myself) understand core C programming concepts through hands-on practice. I’ve documented these to track my progress and to help others get started with small but useful C projects.
- Make sure you have a C compiler installed (like GCC).
- Compile the
.c
files using a terminal or code editor.gcc filename.c -o outputname ./outputname