Skip to content

NMirii/Student-Management-System-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽ“ Student Manager CLI (C)

A fast and simple command-line student management system written in pure C.

Manage student records, store them locally, and perform full CRUD operations โ€” all from the terminal.

Built as a practice project for learning structs, file handling, input validation, and program flow in C.


๐Ÿš€ What It Does

  • โž• Add students
  • ๐Ÿ—‘ Delete students by ID
  • โœ Update student info
  • ๐Ÿ“‹ List all students
  • ๐Ÿ’พ Auto-save to file
  • ๐Ÿ”ข Auto-increment student IDs
  • โœ… Safe input validation

All data is saved in:

students.txt

So nothing is lost when the program closes.


๐Ÿง  How It Works

Each student record contains:

ID | Name | Surname | Age

Data is stored in CSV-like format:

1,Ali,Aliyev,20
2,Leyla,Mammadova,22

๐Ÿ›  Tech Stack

  • C (ANSI C)
  • File I/O
  • Structs
  • Input validation
  • Console interface

No external libraries.


โš™ Compile & Run

Compile

gcc main.c -o student-manager

Run (Linux / macOS)

./student-manager

Run (Windows)

student-manager.exe

๐Ÿ“Ÿ Program Menu

1 โ†’ Add student
2 โ†’ Delete student
3 โ†’ Update student
4 โ†’ Show all students
5 โ†’ Exit

๐Ÿงช Validation Rules

  • Names โ†’ letters only
  • Age โ†’ 1 to 120
  • Invalid input โ†’ rejected safely

๐Ÿ“Œ Why This Project?

Practice core C programming concepts:

  • memory & structs
  • file persistence
  • user input handling
  • CRUD logic
  • program architecture

๐Ÿ”ฎ Possible Upgrades

  • Search by name or ID
  • Sorting
  • Binary storage
  • GUI version
  • Database support
  • Edit specific fields only

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages