求教特殊字符的处理问题。
程序代码:
void ShowWelcome( void ) { printf("███████████████████████████████████████████\n"); printf(" \n"); printf(" ★★★★★Welcome to★★★★★ \n"); printf(" \n"); printf(" ■ Student Score Management ■ \n"); printf(" \n"); printf("███████████████████████████████████████████\n"); } int ShowMenu( void ) { int iSelect; system("cls"); // Clear screen printf("╔════════════════════════════════════════════╗\n"); printf("║ ★★★★★Welcome To MainMenu★★★★★ ║\n"); printf("║ ☀This system has the following functions: ║\n"); printf("║ ☞1. Information input ☞2. Information output ║\n"); printf("║ ☞3. Information search ☞4. Information delete ║\n"); printf("║ ☞5. Information modify ☞6. Information sort ║\n"); printf("║ ☞7. Information insert ☞8. exit system ║\n"); printf("╚════════════════════════════════════════════╝\n"); printf("\n\n"); printf("Enter your choice:[ ]\b\b");
但是结果是这个:
注意在VS2010下排版║\n");
printf("║ ║\n)后面这几个║是对不齐的?显示出来成那不规则的形状了。
☞字符无法显示出来 变成?号了. 怎么办?