title: Accessing the bits in a char?
body: <p>I have experience with Java and Python, but this is my first time really using C, for my first assignment also haha. </p>
  
  <p>I'm having trouble figuring out how to convert an unsigned char to a bit, so I would be able to get/set/swap some bit values.</p>
  
  <p>I'm not looking for someone to do my assignment of course, I just need help accessing the bit. I came across this <a href="https://stackoverflow.com/questions/8584577/access-bits-in-a-char-in-c">Access bits in a char in C</a>
  But it seems like that method only showed how to get the last two bits. </p>
  
  <p>Any help or guidance is much appreciated. I tried Googling to see if there was some sort of documentation on this, but couldn't find any. Thanks in advance!</p>