Posted By

somada141 on 03/12/10


Tagged

function parameter stream Reference argument


Versions (?)

Pass a stream to a function #2


 / Published in: C++
 

  1. void myfunction(ifstream &fp, ...) // use this
  2. void myfunction(ifstream fp, ...) // not this
  3.  

Report this snippet  

You need to login to post a comment.