Re: [PATCH] Choose syntax



On Mon, Jul 11, 2005 at 06:02:09PM +0300, Pavel Tsekov wrote:
> Instead of a macro you could use the following construct:
> 
> static const int MAX_ENTRY_LEN = 40;
> 
this is c++ (well, except that const implies static, i heard). maybe its
in newer c standards, too, but i'm not sure we want to depend on them.

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]