开发者

Output a nice "block" character with ncurses and C++?

开发者 https://www.devze.com 2023-02-13 15:27 出处:网络
I\'m writing a console 开发者_JAVA百科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

I'm writing a console 开发者_JAVA百科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 is only 7-bit. If you are willing to go with 8-bit, there is the Code Page 437:

http://en.wikipedia.org/wiki/Code_page_437

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

0

精彩评论

暂无评论...
验证码 换一张
取 消