Shift words

Hi if I have a 2d array , how can I shift either left or right, for example:
xhellofreind
xxxhellofriend
memmove()
memmove()? Really? On a 2D array?
Why is one dimensional data being represented by a 2d array?
2d is still a solid block. so its fine. 2d dynamic, need to loop it yourself. Somewhere, decades ago, I even have a graphical side-scroller that uses memmove to scoot the pixels every iteration (real time plotting tool from win 95 era).
Topic archived. No new replies allowed.