I am trying to pass a value's address to a void function. I am getting an error in DevC++
"invalid initialization of non-const reference of type 'double&' from a temporary of type 'double*'"
and
"in passing argument 2 of `void getCommission(double, double&)' "
Can anyone tell me what this means? My function prototype looks like this: