cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Shift words
Shift words
Aug 6, 2022 at 8:26pm UTC
Bubbles0012
(14)
Hi if I have a 2d array , how can I shift either left or right, for example:
xhellofreind
xxxhellofriend
Aug 6, 2022 at 9:45pm UTC
jonnin
(11441)
memmove()
Aug 6, 2022 at 11:12pm UTC
kbw
(9488)
memmove()? Really? On a 2D array?
Aug 6, 2022 at 11:30pm UTC
Ganado
(6812)
Why is one dimensional data being represented by a 2d array?
Aug 7, 2022 at 1:50am UTC
jonnin
(11441)
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.