输出一个不错的"块QUOT;性格与ncurses的和C ++? [英] Output a nice "block" character with ncurses and C++?

查看:105
本文介绍了输出一个不错的"块QUOT;性格与ncurses的和C ++?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在C写一个控制台应用程序+ +中使用的ncurses,我想输出一个坚实的ASCII块。它会基本上磁带,通常一个正常的空白字符被保留的区域的所有。是否有我丢失我没有在手册中看到一个ASCII字符或库函数?

I'm writing a console app in c++ using ncurses and I'd like to output a solid ascii block. It'd basically tape up all of the area that would normally be reserved for white space of a normal character. Is there an ASCII character I'm missing or a library function I haven't seen in the manual?

推荐答案

ASCII只有7位。如果你愿意去与8位,有code页437:

ASCII is only 7-bit. If you are willing to go with 8-bit, there is the Code Page 437:

http://en.wikipedia.org/wiki/$c$c_page_437

再有就是统一code,打开字符一个全新的世界......

Then there is Unicode, which opens a whole new world of characters...

这篇关于输出一个不错的"块QUOT;性格与ncurses的和C ++?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆