> What is the max unique variable name length in mspgcc? > I mean, if I declared two variables: > very_long_variable > And > very_long_variable_two
> Will they be different variables. I know Borland's old compiler was > something like 15 characters. The only limitation is the amount of memory you have. A long time ago, I verified that gcc 2.7.2 could tell the difference between two identifiers each a megabyte (1,048,576 characters) long, differing in the last character. stress-test.) Certain old object file formats impose a limit on the length of an identifier that can be externally visible, but C++ generates very long external variable names indeed, so this has been fixed in everything commonly used today. The upshot is, don't worry about it. You'll get bored typing long before you hit any limit.
