Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在制作一个处理 C++ 中简单命令行(控制台)的控制台程序。它工作正常,程序完全没有错误。我的设计问题是:如何在 C++ 中实例化更改将在程序中显示的字体大小和颜色?假设这样:
“你好。这是列表命令。请明智地选择。”
如何使字体为绿色而其他字体为白色?设置大小?
谢谢回答。
如果你在 Linux 上,我会推荐 ncurses,放下手来: