chap31.lst
来自「< C++ 参考大全>>的源代码. 希望大家用得开心。」· LST 代码 · 共 36 行
LST
36 行
listing 1
#include <iostream>
#include <cwctype>
using namespace std;
int main()
{
wctype_t x;
x = wctype("space");
if(iswctype(L' ', x))
cout << "Is a space.\n";
return 0;
}
listing 2
#include <iostream>
#include <cwctype>
using namespace std;
int main()
{
wctrans_t x;
x = wctrans("tolower");
wchar_t ch = towctrans(L'W', x);
cout << (char) ch;
return 0;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?