For some reason this C++ below keeps returning false. Any help would be apprected! I would include more source but it’s in LibPQ
std::string one = "stringa";
std::string two = "stringb";
std::string three = "stringa";
std::string four = "stringb";
if( one.compare( three ) == 0 && two.compare( four ) == 0 ) {
return true;
} else {
return false;
}
Have you tried: