Skip to content

skinwalker3654/C_DATABASE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Student Management System (C)

A cli database like tool for managing students in C It support CROUD OPARATIONS (Insert, Update, Delete) with saving on a file


Features

  • Insert new students (ID, Name, Grade)
  • Select all students , select one student by name OR print all students with specific grade operation
  • Edit the grade of a student by using id OR the name
  • Delete all students , delete one student by ID OR delete all students with specific grade operation
  • Count all students in the list
  • Average find the average grade of students
  • Min find the student with the minimum grade
  • Max find the student with the maximum grade
  • Handls ctr+c signal in case you exit before Memory gets freed
  • Auto save changes in database.txt
  • ANSI COLORS

Requirments:

gcc compiler and GNU MAKE

build and run:

make 
make run

when you want to delete executables:

make clean

SCREENSHOT

alt text

Database file

The students are saved in database.txt with form:

id|name|grade

example:

1|John Doe|8.5
2|Alice Smith|9.2

📌 Notes

  • Max name size: 49 characters.
  • It uses linked list so you can add as much students as you want
  • Students get sorted by the ID (Bubble Sort)
  • If database.txt dosent exists than the program creats it
  • The colors are not the same in every systems or terminal configuration
  • You cant insert two students with the same name or ID

Releases

No releases published

Packages

No packages published