Keyboard input

Started by
1 comment, last by SiCrane 18 years, 9 months ago
Let's say I was creating text on bitmap, and I wanted to save memory by limiting to only creating the first 128 characters, ASCII range 0-128. Also, let's say I don't use any error checking. Can someone using a standard 101 keyboard type in a character outside this range ( > 128) ?
Advertisement
Who cares? It's fairly trivial to check if a character is within a valid range, and proper error handling is a good habit.
Anyways, the answer is yes. Assuming windows, you can use the alt key to enter unicode code numbers to theoretically input any character that the operating system can recognize.

This topic is closed to new replies.

Advertisement