I have this line of code
if(strcmp(ob[i].getBrand(), ob[j].getBrand()) > 0)
and I get this error
error C2664: \'strcm
If getBrand() gives a std::string just use > compare.
getBrand()
std::string
>