I am using a file shared between multiple programmers which has this struct:
typedef struct _APPLE{
ULONG appleID;
struct{
ULONG isBig: 1;
ULONG isRed: 1;
ULONG isFresh: 1;
ULONG isGood: 1;
ULONG bReserved: 28;
};
}APPLE;
As the file is shared I cant edit it.I want to use this APPLE struct in my code and want to provide values to each of its members. How can I do this?
Apple a; a.isBig=0;?