I am writing a C++ program and using fstream(ifstream and ofstream). Additionally, I am using a C open source library and its methods requires "FILE*" inputs. Therefore, I would like to ask whether there is any way to convert between FILE and fstream? I searched in the forum but there was no answer. I did google and someone said that we can convert FILE <-> file handle <-> fstream
http://www.flounder.com/handles.htm
I tried but it didn't work. For example, they said that in order to convert from FILE * to C Library handle, using this method