I have a huge file, which I'm reading with fopen & fgetc in a loop.
It takes around 6 seconds to read the entire file with "rb" flag in fopen, there are around 25k lines in the file.
I was wondering; what are faster ways than fgetc ? is it better to first load everything in a char* array ? is strcpy better ?
note that It's better if it's the way fgetc, or if I'm able to at least get char by char in the array.
what's are better ways than fgetc ?