Dear Sir or Madam:
I have been struggling in finding a way to flip an array.
I want to flip array from begin index to end index.
If an array is larger such as 1000 elements , how can i flip it by aCode:float Array[5] = {3.0, 5.7, 6.0, 8.9, 9.4}; this means: Array[0] = 3.0 Array[1] = 5.7 Array[2] = 6.0 Array[3] = 8.9 Array[4] = 9.4 How can I flip this array so that it become: Array[4] = 3.0 Array[3] = 5.7 Array[2] = 6.0 Array[1] = 8.9 Array[0] = 9.4
special algorithm?
Your help would deeply appreciated.
DiepVien_007