bool array

Is it possible to have an array of bools?
like this: bool array[5][5];
No problem. Also you can use a vector of bools: std::vector<bool>
Thanks!
You can use a bitset too, but it's primarily used for optimization.
Also I would like to append that you may not declare only arrays of void, references and functions (though you may declare an array of function pointers).
Topic archived. No new replies allowed.