Hi there,
Say I have created an ifstream object in main():
ifstream [B]inData[/B]; // Create new input file stream object
inData.open( "input.dat" );
How could I then pass this object to a function, instead of having to recreate it there? I.e. what would the argument and parameter look like?
Thanks :)