Convertit un caractère en minuscules avec ‘towlower()’

Author:


{filelink=13357}


#include 
#include 

int main(void)
{
   int wc;

   for (wc=0; wc <= 128; wc++) {
      printf("%3d", wc);//Le code du caractère
      printf(" %5c ", wc);
	  //Cochoer les caractères convertis
      printf("%2s", towlower(wc)  ? "X"  : "-");

      putchar('n');
   }
   return 0;
}

Leave a Reply

Your email address will not be published. Required fields are marked *