On Sat, Dec 17, 2011 at 11:10 AM, Selvakumar Rajeswaran <[email protected]
> wrote:

> Does 'C' language specification has 'boolean' datatype ?


Unless you are dealing with an ancient compiler, answer is yes. <stdbool.h>
defines standard macros that takes care of compatibility issues too in case
you are using old code that defines 'bool' differently.

This explains its usage and advantages:
http://www.jacquesf.com/2011/04/in-defense-of-the-c99-boolean-type/

-- 
அகிலன் (Akilan R)
[ blog.akilan.in ]
*I should have no use for a paradise in which I should be deprived of the
right to prefer hell.*
  --Jean Rostand
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to