3 ms·
GNU C has the Case Range C extension (http://gcc.gnu.org/onlinedocs/gcc/Case-Ranges.html#Case-Ranges http://gcc.gnu.org/onlinedocs/gcc/Case-Ranges.html#Case-Ran
by _ejd 12y ago
GNU C has the Case Range C extension (http://gcc.gnu.org/onlinedocs/gcc/Case-Ranges.html#Case-Ranges http://gcc.gnu.org/onlinedocs/gcc/Case-Ranges.html#Case-Rang...) which allows you to write "case KEY_KP0 ... KEY_KP10:".
- dllthomas 12y agoOooo, very nice!