Bit management with bool

Hi! I have written this code, but I'm not sure that it's right because my program cannot compile, I don't know why. If someone could prove it and tell me if it works... Thank you

Last edited on
Hello HJ3475,

I can't seem to view your code. Could you try and post your code again?

Registered users can post here. Sign in or register to post.