ORIGIN

Check for alphabet characters

C++ 1 min51 words

A quick way to check whether the character a is a function is to use the function isalpha(a). If is lower case, return 1; If is upper case, return 2; If is not an alphabet, return 0;

The header file of it is < iostream > or < cctype >.

TOP
COMMENT
  • ABOUT
  • |
o_oyao
  The Jigsaw puzzle is incomplete with even one missing piece. And I want to be the last piece to make the puzzle complete.
Like my post?
Default QR Code
made with ❤️ by o_oyao
©o_oyao 2019-2024

|