#include<iostream>
using namespace std;
#define size 20
class number
{
private:
int array[size];
int head,tail,count,item;
public:
number();
~number();
void add(int);
void removes();
bool full();
bool empty();
};
First of all instead of using the comparision operator you use the assignment operator.
Secondly there is no need to do casting to bool because the expression