I want to check if ExpressionPointer1 point at something. But it dosent work I have tried everything I can think about. This is how it looks like:

if(*binarys[*binaryid].ExpressionPointer1 == NULL){
... code ...
}




this is how it looks like in the header:

class Binary : public Expression{
public:
string s_operator;
Expression *ExpressionPointer1;
Expression *ExpressionPointer2;
};