Answers for "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
0

how to print string data type in c++

printf("%sn",someString.c_str());
Posted by: Guest on April-26-2020

Browse Popular Code Answers by Language