Horje
how to check string contains char in c++ Code Example
how to check string contains char in c++
std::string s = "Hello";
if (s.find('e') != std::string::npos)
    cout << "Found";
else
    cout << "Not Found"; 




Cpp

Related
check compiler version c++ Code Example check compiler version c++ Code Example
c++ get files in directory Code Example c++ get files in directory Code Example
check if directory exists cpp Code Example check if directory exists cpp Code Example
print std map Code Example print std map Code Example
include all libraries in c++ Code Example include all libraries in c++ Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8