|
|
int& sum
?I should have an & with the int sum..as in int& sum? |
void update(int sum, int Score)
takes two integers (sum and Score) then adds them together places that into sum. Unfortunately that doesn't do much as that is local data and does not effect main()
.