// Demonstrate the string class stored in the file ourstr.h #include #include "ourstr.h" // This file contains the string class int main() { // Declare a string object string strOne, strTwo; // Assignment to string objects is OK strOne = "Assignment with = is allowed"; // Input is defined for string objects cout << "Enter two strings separated by spaces: "; cin >> strOne >> strTwo; // Output is also allowed cout << "strOne: " << strOne << endl; cout << "strTwo: " << strTwo << endl; return 0; }