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
1 Answer
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.