We're using Dark GDK but i think the syntax is similar for what i want to do.
I'm reading from a file of 1000 doubles. I am looping thorough a data[] array to go through all the numbers.
Then i created another array named histogram[50] to keep count of the values in the file.
what i cannot figure out is how to count how many values in the data[] array fall in to each of the different bins.
so the first bin will keep count of how how many values are between 0 and 1, the second bin will keep count of numbers between 1 and 2, and so on
PLEASE HELP!!