//DISPLAY 11.11 Program Using the StringVar Class //This is the definition for the class StringVar //whose values are strings. An object is declared as follows. //Note that you use (max_size), not [max_size] // StringVar the_object(max_size); //where max_size is the longest string length allowed. #include #include "StringVar.h" using namespace std; //Program to demonstrate use of the class StringVar. void conversation(int max_name_size); //Carries on a conversation with the user. int main( ) { using namespace std; conversation(30); cout << "End of demonstration.\n"; return 0; } // This is only a demonstration function: void conversation(int max_name_size) { using namespace std; StringVar your_name(max_name_size), our_name("Borg"); cout << "What is your name?\n"; your_name.input_line(cin); cout << "We are " << our_name << endl; cout << "We will meet again " << your_name << endl; //test = StringVar their_name; their_name = your_name = our_name; cout <<"After assign outname to your name:" << your_name << endl; cout <<"Their_name: "<