Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

#include <iostream> using namespace std; class StringVar { public: StringVar(int

ID: 3644966 • Letter: #

Question

#include <iostream>
using namespace std;

class StringVar
{
public:
StringVar(int size);

StringVar();

StringVar(const char a[]);

StringVar(const StringVar& string_object);

~StringVar();

int length() const;

void input_line(istream& ins);

freind ostream&operator <<(ostream& outs, const StringVar& the_string);

private:
char *value;
int max_length;
};

<The definitions of the memberfunctions and overloaded operators go here>

void conversation(int max_name_size);


int main()
{

using namespace std;
conversation(30);
cout << "End of demonstration. ";
return 0;
}

void conversation(int max_name_size)
{
using namespace std;

StringVar your_name(max_name_size), our_name("IT2 Autumn Renee Murphy");

cout << "What is your name? ";
your_name.input_line(cin);
cout << "We are" << our_name << endl;
cout << "See you later" << your_name << endl;
}



#include <iostream>
using namespace std;

class StringVar
{
public:
StringVar(int size);

StringVar();

StringVar(const char a[]);

StringVar(const StringVar& string_object);

~StringVar();

int length() const;

void input_line(istream& ins);

freind ostream&operator <<(ostream& outs, const StringVar& the_string);

private:
char *value;
int max_length;
};

<The definitions of the memberfunctions and overloaded operators go here>

void conversation(int max_name_size);


int main()
{

using namespace std;
conversation(30);
cout << "End of demonstration. ";
return 0;
}

void conversation(int max_name_size)
{
using namespace std;

StringVar your_name(max_name_size), our_name("IT2 Autumn Renee Murphy");

cout << "What is your name? ";
your_name.input_line(cin);
cout << "We are" << our_name << endl;
cout << "See you later" << your_name << endl;
}







Explanation / Answer

Did you implement any of those methods of StringVar ? You only have declarations here, so the compiler doesn't know what to do. Only declaring these won't suffice you need to implement these function as well else you'll get errors.