how i check if a letter is equal to a char in a string c++ code example Example: check if equal to \ char or not c++ if (c == '\\') { }