User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







cpp:cctype:tolower

tolower

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

cpp Sourcecode Example

#include <iostream> /* including standard library */
#include <cctype>
 
using namespace std;
int main ( void )
{
  /* convert the Chars "I" and "T" to lowercase */
  cout << static_cast<char>(tolower('I')) << " WHANT " << static_cast<char>(tolower('T')) << "HIS IN LOWERCASE" << endl;
 
return 0;
}

output

  output:
  i WHANT tHIS IN LOWERCASE
  
advertising
cpp/cctype/tolower.txt · Last modified: 2012/10/12 15:03 (external edit)

Impressum Datenschutz