Task: Getting Filename or Path from fstream in C++
Task: Getting Filename or Path from fstream in C++: a task in Terminal-Lego-15k (Harbor dataset). In C++, the standard fstream class does not provide a built-in method to retrieve the filename or path that was used to open the stream. Your task is to implement a custom wrapper class around fstream…
The task
In C++, the standard `fstream` class does not provide a built-in method to retrieve the filename or path that was used to open the stream. Your task is to implement a custom wrapper class around `fstream` that stores and provides access to the filename/path information.
Part of PrimeIntellect/Terminal-Lego-15k.