User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







c:ctype.h:tolower

Table of Contents

tolower

    #include <ctype.h>
    int tolower( int char );
  Returns lower case type of the character

C Sourcecode Example

#include <stdio.h> /* including standard library */
//#include <windows.h> /* uncomment this for Windows */
 
#include <ctype.h>
 
int main ( void )
{
  char string[30];
  /* write the Chars "i" and "t" lowercase in the buffer "string" */
  sprintf(string,"%c WHANT %cHIS IN LOWERCASE",tolower('I'), tolower('T'));
  printf("%s\n",string);
 
return 0;
}

output

  output:
  user@host:~$ ./tolower
  i WHANT tHIS IN LOWERCASE
  
advertising
c/ctype.h/tolower.txt · Last modified: 2013/01/22 22:02 (external edit)

Impressum Datenschutz