Alright, so I've "mastered" the idea of GUI programming in Java and decided I would not touch anything related to windows/linux UI in c++. I've looked at a few UIs programmed in c++ and a few classes already and decided it's not for me. But on that note, what about command line interfaces. I'm currently working on a shipping computer at work that is completely command line, but it doesnt process one thing at a time. It allows for tabbing between multiple "fields", etc.. or another example would be graphics card installer for gnome/kde, one that runs in the command line. Or even a linux installer that uses the command line, and has menus in it, maybe even some color, etc.. I guess the question is how do I get into this? Is there a tutorial on this type of programming? A class written for it already? Suggestions would be much appreciated!
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Use ncurses. A nice how to is here
回答2:
ncurses
回答3:
There's a library called "dialog" which provides a high level widget set built on top of the curses API.