用法示例
1 #include <Windows.h>
2 #include <stdio.h>
3 #include<locale.h>
4
5
6 void main()
7 {
8 //setlocale(LC_CTYPE, "chs");
9 setlocale(LC_ALL,
"zh-CN");
10 wchar_t wstr[
100] = L
"hello你好";
11 wprintf(L
"%ls", wstr);
12 getchar();
13 }
转载于:https://www.cnblogs.com/xiaochi/p/8457995.html
相关资源:数据结构—成绩单生成器
转载请注明原文地址: https://win8.8miu.com/read-27034.html