Ok... I'm opening up a file using fstream class.... but once its open.... how do i get the file size/length? In good 'ol VB there was the "LOF" ... but I'm not seeing any member functions in the fstream class that get the file length.
Code:
	fstream file;

	file.open("C:\\file.txt", ios::in | ios::binary, filebuf::sh_none);
	char *buff = new char[LOF];
	file.read(buff, LOF);
	file.close();
but i want to replace the LOF's with "file.LOF()" or however im supposed to get the file length..