我正在写需要限制使用输入字符只能从代码A到H.那么大的H不应该被接受.我看到数字,我可以使用如下:
A
H
if (input == 0 - 9) return 1;
但是,我怎么做,A到H(char)?
char
c char
c ×1
char ×1