c++ ncurses all your bases are belong to us !!!