Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ASCII の範囲は 0 ~ 127 なので、その範囲を確認してください。
char c = 'a';//or whatever char you have bool isAscii = c < 128;