wctype : wide character « Data Types « C++ Tutorial






#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;
}








2.36.wide character
2.36.1.wctype
2.36.2.Compare wide character string ignoring the case