User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







cpp:cctype:toupper
click
to support this page (eg 0,42 € or so) Thanks.

toupper

    #include <cctype>
    int toupper( int char );
  Returns upper 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" uppercase  */
  cout << static_cast<char>(toupper('i')) << " whant " << static_cast<char>(toupper('t')) << "his in uppercase" << endl;
 
return 0;
}

output

  output:
  I whant This in uppercase
advertising
cpp/cctype/toupper.txt · Last modified: 2012/10/12 15:18 (external edit)

Impressum