| 查看: 300 | 回复: 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分析方法
已经有6人回复
2019年青年基金涵评意见,大家看看几个A,几个B?
已经有9人回复
不应该看fileCode
已经有6人回复
好奇怪的filecode
已经有6人回复
FileCode能看出啥?
已经有21人回复
长年满屏的广告,版主太不责任了。基金也等的急
已经有4人回复
filecode
已经有15人回复
应该是93bebmhtak前后十一个字符比较关键
已经有35人回复
职称评审,求友友推荐见刊最快的期刊
已经有4人回复
奇怪,两个人的filecode固定段从头到尾一模一样
已经有10人回复
lvweizhong
铜虫 (著名写手)
- 应助: 57 (初中生)
- 金币: 3181.3
- 红花: 10
- 沙发: 1
- 帖子: 2064
- 在线: 167.6小时
- 虫号: 3683385
- 注册: 2015-02-09
- 专业: 数论
2楼2015-09-19 16:46:55










;
回复此楼