| 查看: 282 | 回复: 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码,为什么不能实现 |
» 猜你喜欢
医学类期刊求推荐
已经有5人回复
生活琐事由它去
已经有4人回复
提交了我也来说说感想
已经有12人回复
青B发送上会通知了吗
已经有9人回复
西安交大新媒学院副院长用撤稿论文结题
已经有6人回复
论文撤稿了
已经有8人回复
化学专业申博
已经有4人回复
某211大学教师把个人教师官方主页改成:我跑了我跑了我跑了!官宣跑路!
已经有5人回复
26/27申博自荐
已经有9人回复
博士申请
已经有3人回复
lvweizhong
铜虫 (著名写手)
- 应助: 57 (初中生)
- 金币: 3181.3
- 红花: 10
- 沙发: 1
- 帖子: 2064
- 在线: 167.6小时
- 虫号: 3683385
- 注册: 2015-02-09
- 专业: 数论
2楼2015-09-19 16:46:55












;
回复此楼