EVERYONE KINDLY HELP WITH AN ASSIGNMENT THAT IS 15MARKS AND URGENT AS WE ARE TO SUBMIT TOMORROW.
WE ARE TO WRITE A C++ PROGRAM TO SORT A 2*6 DIMENSIONAL ARRAY WITH 5,8,-1,2,4,5 ON THE FIRST ROW AND -3,8,-4,-5,6,8 ON THE SECOND ROW.
sorting a multiple dimensional array is not defined. You can sort them by columns, by rows, or by the whole thing (treated as if 1-d, lowest is 0,0, next lowest is 0,1, next is 0,2... 1,5) or the same thing column wise.
Which of those (or something else?) did you need?
It would also help to see what you have done and where it is giving you trouble. Its hard to guess from a blank page where your error is.