User Tools

Site Tools


cpp:cctype:tolower

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

cpp:cctype:tolower [2012/10/12 15:03] (current)
Line 1: Line 1:
 +{{keywords>wiki library source code example reference}}
 +====== tolower ======
 +<code cpp>
 +    #include <cctype>
 +    int tolower( int char );
 +</code>
 +    Returns lower case type of the character
 +
 +===== cpp Sourcecode Example =====
 +<code cpp>
 +#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;
 +}
 +</code>
 +==== output ====
 +    output:
 +    i WHANT tHIS IN LOWERCASE
 +    
 +
  
advertising
cpp/cctype/tolower.txt · Last modified: 2012/10/12 15:03 (external edit)

Impressum Datenschutz