ncurses program help with arrows keys

This is a discussion on ncurses program help with arrows keys within the Game Programming forums, part of the General Programming Boards category; hi guys all, i want if you can to help me a bit with something. i'm writting a game in ...

  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    2

    ncurses program help with arrows keys

    hi guys all,
    i want if you can to help me a bit with something.
    i'm writting a game in C that it needs the ncurses library.The operating system that i use is linux(fedora).I've install what it takes to compile with ncurses so far but i need in my game thw arrows key (up,down,left,right).Can you tell me what can i do to move my character in my game


    ps.This game is a consolo labyrinth with '*' as the wall and the '.' as the path and my player (T) must walk in to the path!!!!

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,452
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Nov 2010
    Posts
    2
    thank you very much dude

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to execute other program within c program?
    By KoYoungSuk in forum C Programming
    Replies: 7
    Last Post: 06-07-2010, 05:08 AM
  2. Using variables in system()
    By Afro in forum C Programming
    Replies: 8
    Last Post: 07-03-2007, 12:27 PM
  3. BOOKKEEPING PROGRAM, need help!
    By yabud in forum C Programming
    Replies: 3
    Last Post: 11-16-2006, 10:17 PM
  4. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21