| ²é¿´: 265 | »Ø¸´: 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Â룬Ϊʲô²»ÄÜʵÏÖ |
» ²ÂÄãϲ»¶
µ÷¼Á
ÒѾÓÐ6È˻ظ´
280Çóµ÷¼Á
ÒѾÓÐ6È˻ظ´
302Çóµ÷¼ÁÒ»Ö¾Ô¸»ªÖÐʦ·¶´óѧ
ÒѾÓÐ5È˻ظ´
346Çóµ÷¼Á
ÒѾÓÐ4È˻ظ´
²ÄÁÏר˶322·Ö
ÒѾÓÐ9È˻ظ´
372·Ö²ÄÁÏÓ뻯¹¤£¨085600£©Ò»Ö¾Ô¸ºþÄÏ´óѧÇóµ÷¼Á
ÒѾÓÐ5È˻ظ´
318Çóµ÷¼Á£¬¼ÆËã²ÄÁÏ·½Ïò
ÒѾÓÐ10È˻ظ´
310Çóµ÷¼Á
ÒѾÓÐ14È˻ظ´
315Çóµ÷¼Á
ÒѾÓÐ3È˻ظ´
265Çóµ÷¼Á
ÒѾÓÐ13È˻ظ´
lvweizhong
ͳæ (ÖøÃûдÊÖ)
- Ó¦Öú: 57 (³õÖÐÉú)
- ½ð±Ò: 3181.3
- ºì»¨: 10
- ɳ·¢: 1
- Ìû×Ó: 2064
- ÔÚÏß: 167.6Сʱ
- ³æºÅ: 3683385
- ×¢²á: 2015-02-09
- רҵ: ÊýÂÛ
¡¾´ð°¸¡¿Ó¦Öú»ØÌû
¸Ðл²ÎÓ룬ӦÖúÖ¸Êý +1
|
out ·ÖÅä16³¤¶È£¬»¹Ã»ÓÐÄãҪת»»µÄ×Ö·û´®³¤¡£ÏȰÑÕâ¸ö½â¾öÁË ·¢×ÔСľ³æAndroid¿Í»§¶Ë |
2Â¥2015-09-19 16:46:55














;
»Ø¸´´ËÂ¥