If that's not a user-defined function, then that's wrong use of std::equal http://www.cplusplus.com/reference/algorithm/equal/
There aren't any overloads that take 2 arguments. So it wouldn't have compiled.
To check whether two strings are equal: if(strcmp(nochmal, "Ja") == 0) { }
And for when you want to check whether they're not equal: if(strcmp(nochmal, "Ja") != 0) { }
Is there a better standard function to compare two cstrings? me donnos