I have a class for dealing with arrays and I am trying to check if it is empty. I keep getting the error "expression must have a class type."
This is my code:
int main ()
{
Array ar1();
bool isEmpty();
cout << "The array is empty " << ar1.isEmpty();
}
What is wrong with it?