I am having issues with the compiler in checking to see if a piece of a string is empty or not. I have a feeling this is simple, but today has not been my day with this code, but I am still doing my best. Ty
tableRow is a std::vector<std::string> and the enum is here
static enum Columns
{
Name = 0,
X800,
Y800,
W800,
H800,
X1024,
Y1024,
W1024,
H1024,
X1280,
Y1280,
W1280,
H1280,
Notes,
};
if (*(tableRow + (int)Name) == NULL || (tableRow[(int)Name]) == "")
continue;
if ((tableRow[(int)H1280]) == NULL || (tableRow[(int)H1280]) == "")
continue;