When it comes to recover.c for pset4, I am completely lost.
fread(&data, size, number, input);
To quote the video, "where &data is the pointer to a struct which will contain the bytes you’re reading."
What is the struct for recover.c? For resize.c, we had the bmp.h structure.
Or should I use an array instead of a struct?
If I declare an array:
Do I have to malloc when I create it and just how do I do that?
Sorry, I'm really lost and any help is greatly appreciated.