Have you tried:
std::string one = "stringa";
std::string two = "stringb";
std::string three = "stringa";
std::string four = "stringb";
if( one == three && two == four ) {
return true;
} else {
return false;
}
1
solved My loop condition isn’t being met