hi all,when i was doing a small program ,i found somewhat funny in the enum declaration,i would like to talk about it,so that someone could help,why is it happening,
the statement
enum Boolean{false,true}; doesnt compile,gives errors
when i change it to
enum Boolean{no,yes}; it works perfectly well.
'false' and 'true' are reserved keywords that translate to the corresponding (built-in) boolean values.
Why would you need to define a construct that the language already provides?