Don't do that... It will cause problems whenever you do == TRUE or != TRUE
You can, but it is a fairly unusual thing to see, so you will struggle with code that assumes you understand how boolean tests work... I think you'd be far better off biting the bullet and learning it properly... C is not a kind or forgiving language
if (a) {
printf("A was true\n");
}
This also lead to common patterns such as:
char *buf = malloc(255);
if (!a) {
perror("malloc");
exit(1);
}
2011/9/23 Antóin Óg Ó Cuinneagáin <anthony.c...@gmail.com>:
--
Duncan Thomas