Pointer Help

1
2
3
4
5
6
7
int main(void)
{
float * totpayrate;
float payrate;

totpayrate += payrate;    
}


I'm stuck on this situation cause I don't know how to fix this.
My error keeps coming out as "invalid operands of types 'float*' and 'float' to binary 'operator+' in evaluation of 'operator+=(float*,float)'".

So if you can help me out, can you also point out what I did or didn't do properly. Thanks a bunch.
┬┐what did you intend to do?
The compiler is telling you that it does not know how to add ducks and oranges
Thanks for translating what that means into English for me.
Topic archived. No new replies allowed.