问题描述
好吧,所以我已经掌握了Java编程的想法,并决定我不会触摸任何与Windows / linux UI相关的c ++。我已经看了几个UI编程在c + +和几个类已经和决定它不是我。但在这方面,什么是命令行界面。我目前正在工作的航运计算机是完全的命令行,但它不能一次处理一件事。它允许在多个字段之间进行选项卡等,或者另一个示例是gnome / kde的图形卡安装程序,它是在命令行中运行的。或者甚至一个linux安装程序,使用命令行,并在其中的菜单,甚至一些颜色,等..我想问题是如何进入这?有关于这种类型的编程的教程吗?为它写的一个类已经?建议会非常感谢!
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!
推荐答案
使用。一个很好的方法是
Use ncurses. A nice how to is here
这篇关于c ++命令行软件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!