I going to post my problem below but I really am just stuck on how to get to the byte in position bp. I know how to set the bits to 1, but just flustered on trying to get to the specified byte.
ThanksCode://Returns the unsigned int obtained when the byte in //position bp of x is set to all 1-bits //The bytes are numbered 0 to 3 from right to left. unsigned int setByte(unsigned int x, int bp) { //body }