得到文件长度

	ifstream in("STLExtension.h",ios::ate);

	if (in.is_open())
	{
		cout << "file length is " << in.tellg() << endl;

	}
posted @ 2009-10-23 14:52  Fan Zhang  阅读(212)  评论(0)    收藏  举报