Add operation in Bitset

I am new to C++ programing. Hence, I request you to provide solution for the following problem.

How to create two bitsets, say A and B such that each bitset can contain 1,00,000 bits and perform and operation?
you can use std::bitset<100000> -> http://www.cplusplus.com/reference/stl/bitset/
How to perform and operation between two bitsets.
and: A &= B
or: A |= B
...

this http://www.sgi.com/tech/stl/bitset.html might be clearer
Topic archived. No new replies allowed.