| 查看: 301 | 回复: 1 | |||
[求助]
程序编译没有错,一运行出现exe错误,为什么 已有1人参与
|
|
#include <stdio.h> #include <locale.h> #include <string.h> #include <stdlib.h> int main() { const char*p="Welcome to there!"; wchar_t out[16]={0}; setlocale(LC_ALL,"chs" ; mbstowcs(out,p,strlen(p) ); printf("%s", out ); return 0; } 这是我编的,想将ascii码字符串“welcome to there!”转换为unicode码,为什么不能实现 |
» 猜你喜欢
关于Filecode分析方法
已经有11人回复
重要来源:本周末出结果
已经有9人回复
FileCode能看出啥?
已经有24人回复
我的国基提前知道中了,可是同事的操作让我实在接受不了,怎么会有这样的人
已经有14人回复
结合人工智能,周易传统文化,filecode打分制来了,3分以上希望很大。
已经有4人回复
2019年青年基金涵评意见,大家看看几个A,几个B?
已经有11人回复
应该是93bebmhtak前后十一个字符比较关键
已经有36人回复
不应该看fileCode
已经有6人回复
好奇怪的filecode
已经有6人回复
filecode
已经有15人回复
lvweizhong
铜虫 (著名写手)
- 应助: 57 (初中生)
- 金币: 3181.3
- 红花: 10
- 沙发: 1
- 帖子: 2064
- 在线: 167.6小时
- 虫号: 3683385
- 注册: 2015-02-09
- 专业: 数论
2楼2015-09-19 16:46:55










;
回复此楼