I try to generate an array of N random numbers in range between 2 integers min and max but I don't understand very well how to coordinate the sue of srand and rand.. is there an already written function for that ? and btw is there any place to find such useful functions ? thanks joss