?extern?

Pages: 12
It's that you can't make a reference to a temporary (the result from the operation). Anyway, just to reiterate the lessons learned in this thread: in C++, you do not solve equations symbolically (like mathematics).
A reference is simply an abstracted pointer. Pointers can point to only one variable at a time, so references must follow the same limits.
Topic archived. No new replies allowed.
Pages: 12