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