C++輸出漢字
//輸出漢字
char temp[3];
char c;
temp[0]=getchar();
temp[1]=getchar();
temp[2]='\0';
cout<<temp<<endl;
char c;
temp[0]=getchar();
temp[1]=getchar();
temp[2]='\0';
cout<<temp<<endl;
posted on 2010-05-12 21:45 meglory 閱讀(257) 評論(0) 編輯 收藏 引用 所屬分類: C/C++
