: : GentleMen,
: : In C 31 is the upper limit for Defining the Variable names
: : Beyond which one cannot be sure for the uniqness of the variablenames
: :
: : I have searched a lot and have not found as to what is the
: : upper limit for defining names with #define
: : For Instance
: :
: : #define Vanilla_IceCreame 0
: :
: : now where ever i have to use 0 i can use Vanilla_IceCreame
: :
: : I want to know How Far Can I streatch This Can I write A Full Essay!!!!
: :
: : #deinfe My_Best_friend_He_Lives_in..........and it continues
: :
: :
: :
: :
: :
:
I am not sure about the limit itself, but it should be easy to check using TC 31 itself. Just keep trying longer and longer names and see when compiler will start giving messages.
:
:
depends on the compiler. Current Microsoft compilers has a limit of 2,047 characters.
http://msdn2.microsoft.com/en-us/library/bc2y4ddf(VS.80).aspx