Math

Hey another quick question for ye.

CLAY_PROD / MIN_VARI = CLAY_MIN_PROD;

This is the error code:error C2106: '=' : left operand must be l-value

just why is it invalid and how can i make this calculation?
= assigns whatever is on the LEFT side of the = to what is on the RIGHT side.

e.g.
x = a+b; //this makes x become whatever a+b is
Oh shit now i look like a dumb ass. Thank you.
Topic archived. No new replies allowed.