I want to store 26 bits, one for each letter in the alphabet that I want to be true or false. I would store this in a boolean-array like this:
bool alphabet[26];
but I noticed that some functions (like GetLogicalDrives()) use a DWORD to store the 26 bits in. I'd say that for stuff like this a boolean-array would be way easier because you don't have to use any bit-comparison. So.. why is a DWORD used instead of a boolean-array, and should I use a DWORD for situations like this too?