std::string str_3 = "hello"; std::cout << "string str_3 using string class:"<< str_3 <<std::endl;
using namespace std; int main() { string str_3 = "hello"; cout << "string str3 using string class: " << str_3 << endl; return 0; }
#include <iostream> #include <string>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)