Тролько
Товарищи. подскажите как сделать проверку, чтоб размер файла был 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 );
-
-
10.12.2006 в 01:27нэ?
-
-
10.12.2006 в 06:54#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!))
-
-
10.12.2006 в 14:21[revolver] запомню)))