Тролько
Товарищи. подскажите как сделать проверку, чтоб размер файла был 5 мб. если сам размер файла подсчитывается так:
//подсчет размера файла
fseek( input, 0, SEEK_END );
long len=ftell( input );
rewind(input);
printf( "The input file size is %d bytes\n",len );
//подсчет размера файла
fseek( input, 0, SEEK_END );
long len=ftell( input );
rewind(input);
printf( "The input file size is %d bytes\n",len );
нэ?
#pragma request pleace count size of file.
#pragma complain I'm wanting IT!!!!
#pragma please please please
So, in conclusion, you should remember that there're 1024^2 bytes in a one Mb.
Good luck!))
[revolver] запомню)))