Open bufalo1973 opened 2 months ago
Historical reasons. That code was working ~30 years ago, why change it?
I think (maybe I'm wrong) that getting rid of pointers (and their management) is a good idea. And I find clearer the way std::fstream works.
But it was just a question.
As of today, only 2 files use FILE:
I've looked thru the code and all file management is based on FILE. Why not use std::ifstream and std::ofstream? I don't know if that can be done 100% but I find it easier to use than using pointers, fprintf, ...