The Other Worlds Shrine

Your place for discussion about RPGs, gaming, music, movies, anime, computers, sports, and any other stuff we care to talk about... 

  • S.O.S. Kupek

  • Somehow, we still tolerate each other. Eventually this will be the only forum left.
Somehow, we still tolerate each other. Eventually this will be the only forum left.
 #91914  by Nev
 Thu Sep 08, 2005 4:43 pm
Hey Kup, I'm wondering if I can beg your help once again.

Do you have any links to good articles on the use of reference types in C++? (I.E., the use of parameters or variables declared with the & reference-of operator, like int&.)

Specifically, I'm wondering how reference types to base/derived classes work, and if reference types to base classes are compatible with their derived classes, but any detailed info on the subject would be great. I've been looking on Google but can't seem to find much beyond "pass-by-value vs. pass-by-reference" stuff.

I knew I should have bought that damn Stroustrop book, but it was sixty bucks and I'm a little light on funds this month.

I swear I want to go back to school and try to write a compiler at some point, for all the problems I'm having, this is kind of fun.