cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
moving characters
moving characters
Apr 25, 2012 at 5:42am UTC
lawliet06
(2)
hello everyone..i just want to know how to move a character in c++. if you press arrow down key it will move down if you press arrow up key it will go up and so on..xD
Apr 25, 2012 at 9:21am UTC
Vlykarye
(229)
You can't move characters in C++.
However, if you use the right libraries and code, you would be able to simulate movement of a character in the
console
window. Research PDCurses.
Apr 25, 2012 at 9:26am UTC
Peter87
(11234)
If you are not using Windows you can use ncurses.
Apr 25, 2012 at 2:21pm UTC
whitenite1
(1785)
@lawliet06
Take a look here
http://v2.cplusplus.com/forum/beginner/59023/
for a small program that moves a character around the screen. It should be of help.
Apr 26, 2012 at 3:21pm UTC
lawliet06
(2)
tnx for your help..xD
Topic archived. No new replies allowed.