filelength

se deja de utilizar esta función de POSIX.Utilice ISO C++ _filelength compatibles en su lugar.