What is the macro definition of isupper in C?
问题 I want to know how the "isupper" macro is defined in C/C++. Could you please provide me the same or point me to available resources. I tried looking at ctype.h but couldnt figure it out. 回答1: It's implementation defined -- every vendor can, and usually does, do it differently. The most common usually involves a "traits" table - an array with one element for each character, the value of that element being a collection of flags indicates details about the character. An example would be: traits[