this is my struct
struct CropType
{
string crop;
string farmer;
string color;
string order;
};
CropType myCrop;
and this is my tree
struct TreeNode
{
CropType info;
TreeNode* left;
TreeNode* right;
};
how do i compare a string within my struct like crop to a node in my tree