Menus library with PDCurses

泄露秘密 提交于 2019-12-11 10:56:45

问题


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:


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



来源:https://stackoverflow.com/questions/7912260/menus-library-with-pdcurses

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!