Posts

Showing posts from March 8, 2019

C++ grades calculator using pointers

Image
5 1 $begingroup$ I have a program to calculate grades that uses pointers and I am trying to figure out if I did it right and if there are any problems with my implementation. I'm trying to get a more firm grasp on pointers in C++ and have been using them more frequently in my practice programs. I was looking at my grades and thought to myself, "what if I made a program that could calculate grades just like this." Essentially the features it has are: having a Class (not a C++ class, a school class), that has categories. Categories can be things like, "Tests," and, "Classwork," which can be weighted differently. Then you can add assignments into the categories and the grades will be calculated accordingly. You can also change the categories name and weight, as well as attributes of