|
-
Jan 24th, 2006, 05:06 PM
#1
Thread Starter
Hyperactive Member
Shifting an array
How would I shift the elements of an array to the right. For example, I want five shifts of the array to look like this:
0 0 0 0 0
0 0 0 0 5
0 0 0 5 2
0 0 5 2 1
0 5 2 1 8
5 2 1 8 7
Hope this makes sense. This shift will happen once per second in a thread that will update data to graph.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|