How can I figure out the size of a file, in bytes?
#include unsigned int fsize(char* file){ //what goes here? }
Looking at the question, ftell can easily get the number of bytes.
ftell
long size = ftell(FILENAME); printf("total size is %ld bytes",size);