title: How get fileName having FILE*?
body: <p>In my class I have <code>FILE* ascii_file;</code> data member, which always is initialized via class constructor. How can I get full path of the <code>asci_file</code>? I don't want to store more information about the file expect <code>ascii_file</code>, and want it to work on windows, linux and solaris.</p>