On Dec 17, 2011 11:20 AM, "0" <[email protected]> wrote:
> Nope, just define one using typedef such as,
>
> #define true 1

Since C defines any non-zero value as true, rather than defining true as 1
you better define true as !0. Ie, true is the opposite of false.

This is the only way to ensure that a test against 2 true values will work
in all cases.

- Raja
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to