Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) std::isupper

 

std::isupper is an STL function to check if a character is an uppercase alphabetic letter.

 

 

#include <cassert>
#include <cctype>

int main()
{
  assert(!std::isupper('a'));
  assert(std::isupper('A'));
  assert(!std::isupper('1'));
  assert(!std::isupper('@'));
}

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict

This page has been created by the tool CodeToHtml