How to set up text-based character movement in c++
Hey everyone, I had a question about character movement for a text base c++ game I wanted to create for sometime. I am fairly new at programming in C++ ( about 6 months) or any other programming language, so I do not know how to make my character move?
I want to be able to move my character, the "@" sign lol, using the arrow keys. I've tried googling and looking it up on the forums, but I could only find a few which talked not that much about the topic and didn't really have no explanation on how to use or why.
Does any one know of a link to a good tutorial? Or if any one could write me a fragment of the function ( not a whole program, ofcourse..)
and explain how it works?