0

Can anyone help with why my open_files function won't call in main??

there are other ways to do it but I was told to pass it by reference with a void function yet I keep getting invalid initialization of reference of type https://code.sololearn.com/cALLPjzXoVNJ/?ref=app

29th Mar 2018, 3:44 AM
anthonysbarra
anthonysbarra - avatar
1 Odpowiedź
0
Can't test file functions on sololearn, but 1 issue Is can see is open_files() expects a ifstream reference and a ofstream reference, but a fstream and ofstream reference are passed.
29th Mar 2018, 9:23 AM
Jared Bird
Jared Bird - avatar