Usefulness. Having functions return stuff, instead of passing arguments by reference/pointer, is specially useful when you can use the return value in an expression, or argument to another function ...
So I have a C++ program that I'm refactoring from someone elses code. It has a File class object called File_C that's intended to handle all the file i/o for input files and put the data in files into ...