You have to declare the function in the .h file.
void CalculateValues();
You can’t just put a function in .cpp and expect it to work.
You have to declare the function in the .h file.
void CalculateValues();
You can’t just put a function in .cpp and expect it to work.