[algogeeks] Re: array size problem

2011-07-05 Thread sankalp srivastava
due to constant folding On Jul 4, 6:54 am, Navneet Gupta navneetn...@gmail.com wrote: If you can, refer to Constants chapter in Bruce Eckel. He he smartly explained how const are different for C C++. The e-book is free to download from net. On Mon, Jul 4, 2011 at 2:50 AM, Gene

[algogeeks] Re: array size problem

2011-07-03 Thread Gene
Why do bicycles have 2 wheels and tricycles 3? The designers made them that way. So you're probably asking why they were designed that way. C++ came after C. In general C++ seeks to de-emphasize use of the pre- processor because macro substitution is generally considered to make maintenance

Re: [algogeeks] Re: array size problem

2011-07-03 Thread Navneet Gupta
If you can, refer to Constants chapter in Bruce Eckel. He he smartly explained how const are different for C C++. The e-book is free to download from net. On Mon, Jul 4, 2011 at 2:50 AM, Gene gene.ress...@gmail.com wrote: Why do bicycles have 2 wheels and tricycles 3?  The designers made them