Student Record Management CLI
A command-line systems application written in C for storing, searching, and managing student academic records using dynamic memory allocation and custom linked list data structures.
Project Overview
The Student Record Management CLI is a core systems programming project developed in pure C to practice low-level memory control, pointer manipulation, and fundamental data structures.
Instead of using high-level database drivers, student entities (ID, Name, GPA, Department) are dynamically allocated on the heap using singly linked lists. The program supports insertion, binary search, ascending/descending sorting, record editing, and automated binary disk serialization.
Core Features & Implementation
Dynamic Memory Management
No fixed-size array constraints; each student record is allocated dynamically via malloc, preventing memory waste and avoiding stack overflows.
Search & Filter Algorithms
Allows instant retrieval of student records by ID prefix, department filter, or minimum GPA thresholds.
Disk Serialization
Implements file streaming via fopen, fread, and fwrite to dump and restore the linked list safely between runs.
Clean Pointer Cleanup
Traverses the list before process termination to invoke free() on every node, preventing memory leaks.