I have a binary file and I want to read all of them. I thought, I should find its size and use fread function but I cant find the size. Do you have any idea?
size_t size, size_begin, size_end;
size_begin = fseek(dir_file, 0, SEEK_END);
size_end = fseek(dir_file, 0, SEEK_SET);
size = size_end - size_begin;