DEV Community


Discussion on: Bitwise Operations in C/C++

somedood profile image
Basti Ortiz (Some Dood)

Shameless plug here, but I wrote an article not so long ago about the use cases of bitmasking. I used JavaScript for my examples if that helps you to figure out why you would need it. I also highly recommend reading through the comments and discussion of the article. People mentioned a lot of use cases for bitmasking in general there.