General Purpose library for Freestanding C++ and POSIX systems
25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
- #pragma once
-
- inline bool is_digit(char v) {
- return v >= '0' && v <= '9';
- }
-
- inline bool is_alpha(char v) {
- return (v >= 'a' && v <= 'z' )||(v >= 'A' && v <= 'Z');
- }
-
- inline bool is_alnum(char v) {
- return is_alpha(v) || is_digit(v);
- }
|