问题
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?
回答1:
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...
来源:https://stackoverflow.com/questions/5117171/output-a-nice-block-character-with-ncurses-and-c