#include <string>
#include <iostream>
int main()
{
using namespace std;
const char* pszConstString = "Hello String!";
cout << "Constant string is: " << pszConstString <<endl;
std::string strFromConst(pszConstString);
cout << "strFromConst is: " << strFromConst << endl;
std::string str2("Hello String2!");
std::string str2Copy(str2);
cout << "str2Copy is: "<<str2Copy<<endl;
std::string strPartialCopy(pszConstString, 5);
cout <<"strPartialCopy is: " <<strPartialCopy<<endl;
std::string strRepeatChars(10, 'a');
cout <<"strRepeatChars is "<< strRepeatChars <<endl;
return 0;
}