Menus library with PDCurses

2019-08-02 15:36发布

I'm currently learning to program with NCurses/PDCurses by reading this tutorial: http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/ But when I get to chapter 17 which is about the menus library, I'm getting kind of stuck. #include <menu.h> doesn't work, and I can't find menu.h in the pdcurs34 folder. Is there a way to add the menus library (menu.h) to PDCurses? (PS: I'm using MS Visual Studio.)

1条回答
Evening l夕情丶
2楼-- · 2019-08-02 16:32

The menu library is part of the ncurses package I don't think the menu library will work with pdcurses but you could try extracting it from the ncurses source and compiling against pdcurses.

The latest ncurses: ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz

查看更多
登录 后发表回答