Could plz explain this matter

Nov 2, 2011 at 6:15pm
I try to analyze source code but I found some expressions look new to me .
For instance :
unsigned char fin :1; //Finish Flag
unsigned char syn :1; //Synchronise Flag
what's this mark mean in C (:1) ?
How can I deal with it .for example if I want to put IF statements?
I gotta put condition like
If (fin==1 )// flag bit of fin is set (Is that true...?)
do .....
.......;
Nov 2, 2011 at 7:18pm
Nov 3, 2011 at 1:05pm
I appreciate that bro.....thank u
Topic archived. No new replies allowed.