B
BigAias
Hi, I've been given a problem by my Comp Sci teacher over bit-masking,
which I have absolutely no knowledge about. I'm sure its going to be a
really simple and stupid question to a lot of folks out there, but its
not for me
Pretty much, I have to read in a character, then using a bitwise
operator, I have to determine whether it is uppercase or lowercase. If
its uppercase, I have to convert it to lowercase using bit-masking.
I know that the 5th bit is the one that determines uppercase or
lowercase and all that jazz, and I've been trying tons of things to
manipulate that, and nothing's working. Help, please
which I have absolutely no knowledge about. I'm sure its going to be a
really simple and stupid question to a lot of folks out there, but its
not for me
Pretty much, I have to read in a character, then using a bitwise
operator, I have to determine whether it is uppercase or lowercase. If
its uppercase, I have to convert it to lowercase using bit-masking.
I know that the 5th bit is the one that determines uppercase or
lowercase and all that jazz, and I've been trying tons of things to
manipulate that, and nothing's working. Help, please