I am trying to write data in a binary format. I have this function currently, but I need to do it with fstream.
CStdioFile data(_this->output_dir + L"