m mistakes. When you are presented with a painful experience, take the time to think about how you can avoid it in the future. This is an example of a lesson learned.*
Well, the only way I know how to do this, is with <windows.h>.
If you are willing to use that, then, here I go:
Win32's function GetFileSizeEx() gets the number of bytes in a file, and, in case you didn't know, one character is one byte. You will have to replace some stuff since I don't think this function works with <fstream> though.