Hey guys, im still working on my program. However, im running into a problem. I have a simple 1d array that starts at array[1] to array[7] and im trying to sort the array, by increasing values.
This is the code i have written, however its not working.
std::sort(& array[1],& array[8]);
when i cout the values of array[1] through array[7] they're clearly have not been sorted. :(
If you guys could help explain as to why this happens, im all ears. :)
Thanks,
Peter.
