简体   繁体   English

如何使用 unicode 增加黑色方块的大小? C++

[英]How to increase the size of black square using unicode? C++

i am making chess and i used this code to insert white blocks我正在下棋,我用这段代码插入白块

        for(column=8;column>=1; column--)
         {if ( column%2 == 0)
           {
     
              cout<<(char)254u<<"\t\t" ;
          }

what i want to know is how to increase size of the white squares, also i'm planning to insert black squares instead of \t\t, is cout the right thing to use here?我想知道的是如何增加白色方块的大小,我还打算插入黑色方块而不是 \t\t,在这里使用 cout 是正确的吗?

要增加方块的大小,它们是像普通字母一样的字符,您需要增加显示它的终端的字体大小。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM