Multidimensional Bitset

I'm trying to make a simulated RAM, and the most space efficient way of doing that seems to be to use a bitset. How do you go about making a two dimensional bitset (one dimension for the byte, and the other for the bit)? If that isn't possible, then could someone suggest another way of doing it because I would rather not use standard bool arrays as they aren't very space efficient.

Thanks
I've thought up a way...I'm going to create an array of shorts and use the bitset to turn them into binary, and then use a function which I will make to turn them back into decimal.
Topic archived. No new replies allowed.