A cli database like tool for managing students in C It support CROUD OPARATIONS (Insert, Update, Delete) with saving on a file
- 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
gcc compiler and GNU MAKE
make
make runmake cleanThe students are saved in database.txt with form:
id|name|grade
example:
1|John Doe|8.5
2|Alice Smith|9.2
- 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.txtdosent 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
