str.compare(const_str, true) != 0 0 != 0 should fail str.compare("omgomgomg", false) != 0 0 != 0 should fail Program code.