Go back to Richel Bilderbeek's homepage.

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

 

 

 

 

 

(C++) std::islower

 

std::islower is an STL function to check if a character is a lowercase alphabetic letter.

 

 

#include <cassert>
#include <cctype>

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

 

 

 

 

 

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