
March 31st, 2006, 11:59 AM
|
|
Contributing User
|
|
Join Date: Mar 2005
Posts: 276
Time spent in forums: 1 Day 11 h 48 m 58 sec
Reputation Power: 4
|
|
Quote: | Originally Posted by jandali hey i need one thing how do u insert the new arraydata in array. U can do by comapring and shifting all the arrays to right after that, but how do you shift all the arrays to right after the array u want to put the array in? i need urgent help? |
Take a buffer or temp storage. Copy the array element that is to be shifted , to the buffer. In the position of the array element that is copied to the buffer, replace the value by the new element.
Then copy the content of buffer to a new poisiton in the array. In this way you shift the array datum.
|