isalpha.c (216B)
1#include <ctype.h> 2#include <stdbool.h> 3#include <stdint.h> 4 5bool isalpha(char c) { 6 return ((((uint8_t)((uint8_t)c - 'a') < ('z' - 'a' + 1))) || ((uint8_t)((uint8_t)c - 'A') < ('Z' - 'A' + 1))) ? true : false; 7}
cscg22-gearboyCSCG 2022 Challenge 'Gearboy' | |
git clone https://git.sinitax.com/sinitax/cscg22-gearboy | |
Log | Files | Refs | sfeed.txt |