Hi all,
I've written programs before with file i/o in c++. There was one technique I learned for dealing with files and functions, and it seems to be standard (upon googling), but I was hoping someone could explain one of the finer points.
When dealing with ifstreams, ofstreams, we often pass by reference when a function needs to deal with files. Why do we not need to dereference in the body of the function in order to use it?
(Yes, I know there is a similar thread right now. But my posting my question in that thread would likely give away the answer to the OP).