This homework assignment focused on developing a class within C++.
The class took in data points one at a time and when requested, could output the average and standard deviation of all added values. These data points could be of type float
, int32_t
, or uint32_t
. The class was written to calculate the average and standard devation each time data was added, and then supply those values when requested. This was to prevent the need for using arrays.
The source code for this project can be viewed online at my personal Github account, linked here: Statistically Significant Source Code
To find the locally-saved files, please use the following link to find the mainscript for this lab:
stat-tracker.cpp
stat-tracker.h
Additionally, the test file can be viewed here:
main.cpp