How to set Chinese fonts for C language compiler
To set Chinese fonts for C language compiler, you can follow the steps below:
1. Compiler Settings
Visual Studio:
GNU Compiler Collection (GCC):
-fno-common to the compile command line
flag, for example: gcc -fno-common -o my_program my_code.c
2. Terminal settings
##Windows:
Linux:
or
.zshrc) set the
LC_ALL=zh_CN.UTF-8 environment variable.
(or
.zshrc) to apply the changes.
Note:
The above is the detailed content of How to adjust Chinese fonts in C language compiler. For more information, please follow other related articles on the PHP Chinese website!