KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Is there any way to access the file descriptor of a file opened in c++? So ... #include <iostream> #include <fstream> using namespace std; int main() { ifstream inputFile( "file.txt",ios::in ); cout << inputFile.fileDesc << endl;//made up call return 0; } The question is, does something like fileDesc exist for ifstreams? If not how would I go about doing this?
Tags (comma-separated)
Save Edits
Cancel