#include
#include
using namespace std;
int main()
{
string stringObject1("stringObject1");
string stringObject2("stringObject2");
string stringObject3("stringObject3");
string stringObject4;
stringObject4 = stringObject1;
cout << stringObject1 << "\n" << stringObject3 << "\n";
stringObject4 = stringObject1 + stringObject2;
cout << stringObject4 << "\n";
stringObject4 = stringObject1 + " to " + stringObject3;
cout << stringObject4 << "\n";
if(stringObject3 > stringObject1)
cout << "stringObject3 > stringObject1\n";
if(stringObject3 == stringObject1+stringObject2)
cout << "stringObject3 == stringObject1+stringObject2\n";
stringObject1 = "This is a null-terminated string.\n";
cout << stringObject1;
string str5(stringObject1);
cout << str5;
cout << "Enter a string: ";
cin >> str5;
cout << str5;
return 0;
}