Since C doesn't have boolean type, I'm trying to use typedef to create a boolean data type. How do I use structure to create such boolean type (I saw somewhere, but I forgot) ?
This code works, but it doesn't use struct, anyone can help me implement a struct datatype of boolean? ThanksCode:
typdef int boolean
#define TRUE 1
#define FALSE 0