Learn C++ STL

Lesson 8 of 9 · bitset and Bit Tricks: Sixty-Four Booleans in One Word

Module 15 · bitset and Bit Tricks: Sixty-Four Booleans in One Word

bitset Quick Reference

ProReading

Amara keeps this sheet beside her editor. First say what one position means. Then find the matching row. If that sentence needs a count or a history, a single bit may not hold enough information.

Checking what this lesson needs for you…

What is inside bitset Quick Reference

  1. Operations and costs
  2. Choose the neighbour
  3. Pattern reminders

Module test

Ten questions on this module. Pass at 70%, and you can take it as many times as you like.

Take the module test