Answers for "how to include string in c++"

C++
4

c++ string contains

if (string1.find(string2) != std::string::npos) {
    std::cout << "found!" << 'n';
}
Posted by: Guest on April-02-2020
4

how can make string value in cpp

#include <string>
string hello= "hello you thre :)";
Posted by: Guest on June-07-2020

Browse Popular Code Answers by Language