C Tutorial/wctype.h/towlower

Материал из C\C++ эксперт
Перейти к: навигация, поиск

wint_t towlower(wint_t ch)

Function char Equivalent wint_t towlower(wint_t ch) tolower()


<source lang="cpp">#include <stdio.h>

  1. include <wctype.h>

int main(void) {

  int wc;
  for (wc=0; wc <= 0xFF; wc++) {
     printf("%3d", wc);
     printf(" %#4x ", wc);
     printf("%3s", towlower(wc)  ? "AN" : " ");
     putchar("\n");
  }

}</source>