On (24 Apr 97) Darin McBride wrote to Jerry Coffin...
JC> int &player = id[j].controller-1;
DM> How does that help? The compiler should, at the least, complain it
DM> has to create a temporary for the reference to refer to.
DM> Get rid of the &.
Oops - you're right. A stupid slip on my part. Thanks.
DM> {And, due to the complexity of the original, I'll assume it was just
DM> pure confusion that led to the incorrect "player" - it should be
DM> data[id[j]].controller-1, if I read it correctly}
Probably - I didn't recheck that what I put in matched what it was
replacing. Would it sound lame if I claimed that rather than showing
sloppiness on my part, this just confirmed the excessive complication of
the original?
Later,
Jerry.
... The Universe is a figment of its own imagination.
--- PPoint 1.90
---------------
* Origin: Point Pointedly Pointless (1:128/166.5)
|