I want to sort the array items using the vector.
Example:
int buff[4] = {15, 6, 55, 34};
std::vector<int> myVector(buff, buff+4);
now i will pass the array in to sort the buff data in ascending order.
mySort(myVector.begin(),myVector.end());
How to do this ?
Kindly suggest.