variable that we compare with empty string is of type const char, not string.. A possible way of doing it would be:
!string(listings_param_table[idx].name).empty() But it is more difficult to read, IMHO. Ugras
Use string::empty() instead. Abdel.
variable that we compare with empty string is of type const char, not string.. A possible way of doing it would be:
!string(listings_param_table[idx].name).empty() But it is more difficult to read, IMHO. Ugras
Use string::empty() instead. Abdel.