A collection of small C programming projects showcasing fundamental concepts like random number generation, data structures, and terminal animations.
1. π― Number-Guess
An interactive number guessing game where the player tries to find a random number between 1 and 100. The program provides feedback on each guess and counts attempts.
- Language: C
- Concepts: Random number generation, input validation, control flow
- Build:
gcc -Wall -Wextra -Werror NumberGuess.c -o number_guess - Run:
./number_guess
2. π Student Grade Manager
A grade management system for tracking students and their grades. Features include adding students, recording grades, and calculating averages.
- Language: C
- Concepts: Structs, arrays, file I/O, menu systems
- Build:
make - Run:
./grade_manager - Features: Add/list students, manage grades, calculate averages
3. π text_wave
A terminal animation that creates a flowing wave effect with text using sine waves and ANSI escape codes.
- Language: C
- Concepts: Math functions (sin), terminal animation, ANSI codes
- Build:
gcc -Wall -Wextra -Werror text_wave.c -o text_wave -lm - Run:
./text_wave "Your text here"
- C compiler (gcc or clang)
- Standard C library
- Make utility (for student-grade-manager)
- POSIX-compatible terminal (for text_wave)
- Navigate to any project folder
- Follow the build instructions in that project's README
- Run the compiled program