Answers for "c++ char* check if equal to string"

C++
4

check if char in string c++

std::string s = "hell[o";
if (s.find('[') != std::string::npos)
    ; // found
else
    ; //
Posted by: Guest on September-14-2020
0

check if equal to char or not c++

if (c == '\') {

}
Posted by: Guest on April-10-2021

Code answers related to "c++ char* check if equal to string"

Browse Popular Code Answers by Language