In this exercise I am using Visual Studio 2019 and a modified version of the std_lib_facilities header found here.
Chapter 25 // Exercise 11
Repeat the previous exercise, but keep the bits in a bitset<32>.
Repeat the previous exercise, but keep the bits in a bitset<32>.
This was extremely easy and just involved converting the bitset to unsigned long longs in places. I like that you can subscript a bitset however, it's weird that you can't do other container-like things like set a range of the bitset.
No comments:
Post a Comment