Hi!
I need a bit of help with an array sorting issue.
I would like to sort the contents of an array (double type values) in ascending order. The problem is that the array size is unknown - the array itself is the result of another algorithm carried out within the program, so there could be 2 to hundreds of numbers in the array depending on the user's choice. The array sorting methods I've found so far (bubble, insertion, quicksort) seem to require the size to be indicated, or the array to be taken apart by pieces.
Is there any way to sort such an array without any lengthy procedures?
Thanks in advance for any advice!

The problem is that the array size is unknown.

int size = sizeof(array) / sizeof(array[0]);

Is there any way to sort such an array without any lengthy procedures?

#include<algorithm>

sort(array[0], array[size]);