the histogram part weve done twice before.
first time, it simply counted how many of each number (from 0-19) appeared in a list. the max number of entries was specified by the user.
second time we made "bins" for the numbers: if the number of bins entered was 4, then each bin would contain 5 numbers (since were counting number 0-19 only). if the number of bins was 2, then bin=0-9 and bin=10-19.
so the histogram in this part will be the same except read it from an input file. we would write a function with a pointer that points to the data in another file, and write a loop to count the values of each into the proper bins.
the confusion comes in using the .o/.h files and the function. how do we have to compile main for this to work?
in the main prog(int main) we call the function to decompose the jpg. we call the function
that part makes sense.
hope this is a little clearer! thanks for any help ^_^