Skip to content

LinkisLethe/GPA_Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Course Grade Manager

C GCC CLI

中文

Background

Tracking several courses becomes difficult when each course has different assessment items and weights. Course Grade Manager is a C11 command-line application that keeps those records in one place and estimates the final-exam score needed to reach a target overall grade.

Core features

  • Add, modify, view, and delete courses.
  • Configure weighted assessment items for each course.
  • Add, modify, and delete recorded grades.
  • Estimate the final-exam score required to reach a target course grade.
  • Export the current course and grade data to userData.txt.

Tech stack

  • C11
  • C standard library
  • GCC-compatible build
  • Menu-driven command-line interface

Build and run

Use a C11-compatible compiler such as GCC.

gcc -std=c11 -O2 -o grade-manager src/grade_manager.c
./grade-manager

On Windows:

gcc -std=c11 -O2 -o grade-manager.exe src/grade_manager.c
.\grade-manager.exe

The application writes runtime data to userData.txt in the current working directory. An empty export example is provided at data/sample_data.txt.

Project structure

src/grade_manager.c    Application source
data/sample_data.txt   Example export format

Design notes and limitations

The program uses fixed-size in-memory arrays and exports data after operations complete. It does not reload an existing export when it starts, so userData.txt is an output format rather than persistent application storage. The current version has been compiled and checked with MinGW-w64 GCC 8.1 on Windows.

About

A C11 command-line application for managing weighted grades and estimating target final-exam scores.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages