Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想删除两个位。
例子:
1 0101000 0 0010001
结果:0101000 0010001
我如何在 C++ 中做到这一点;O?
使用std::bitset或boost::dynamic_bitset
std::bitset
boost::dynamic_bitset