獲得文件長度

ifstream in("STLExtension.h",ios::ate); if (in.is_open()) { cout << "file length is " << in.tellg() << endl; } 轉載於:https://www.cnblogs.com/fanzi2009/archive/2009/10/23/1588677.htmlhtml
相關文章
相關標籤/搜索