In short, the header file does not exist to tell you that it is part of the standard ANSI / ISO C specifications, which defines the syntax and environment mechanism layout for the C language itself. In the pre C89 standards, the maximum identifier length was 6 due to small sections of memory and environments on systems such as Mainframes and * nix.
Today, the most recent standard is the C99 standards, which specify that the maximum length for an identifier should be 32, the reason is quite simple and logical ... the compiler works by analyzing the input stream, which will be passed as a command line argument, makefile or solution (for Microsoft environments Visual Studio), the parser is rigid and fixed and therefore imposed restrictions on the length of the identifier, so that the parser can look ahead and see if there are more characters. Exactly because of this reason.
Another reason is that most C ++ compilers use a name definition for identifiers, which, as Jonathan Leffler pointed out, can confuse the compiler, as well as the code relationship.
Hope this helps, Regards, Tom.
t0mm13b Feb 28 '10 at 19:38 2010-02-28 19:38
source share