Qt Code:
int size; size = ifile.tellg();To copy to clipboard, switch view to plain text mode
Qt Code:
int size; size = ifile.tellg();To copy to clipboard, switch view to plain text mode
Regards
Querying the file pointer after you first open the file will return 0.
Try this:
Qt Code:
ifile.seekg( -1, ios_base::end );To copy to clipboard, switch view to plain text mode
If this does not work, could you compare the size with the actual file size?
Regards
Bookmarks