home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_09_08
/
9n08126a
< prev
next >
Wrap
Text File
|
1991-06-17
|
443b
|
26 lines
/* Current method of flag declaration */
struct flags
{
unsigned int alarm_on:l;
unsigned int door_ajar:l;
}flags;
/* Desired method of flag declaration */
unsigned int alarm_on:l;
unsigned int door_ajar:l;
main()
{
/* Current Method of Flag Initialization */
flags.alarm_on = l;
flags.door_ajar = O;
/* Desired Method of Flag Initialization */
alarm_on = l;
door_ajar = O;
}