Replacement for C++ standard fstream to add features that I wanted.
In order to create an implementation for the file. create a seperate .cpp called fstream.cpp, and define "_FSTREAM_IMP_" and then include "fstream.h" That define must be created before you include the file.