I'm curious how you go about allocating a new boolean array pointer in c++. I did some looking around but couldn't find anything that is similar to how I've learned to allocate new pointers.
To allocate a new int pointer I have learned to do
int * intPointer = new int;
What would be the proper way for a boolean array? I've tried:
bool * boolArr = new  bool;
but I get the error "expected type-specifier before '[' token