简体   繁体   中英

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?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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