Question: can someone code this c++ project please?? thank you. p.s you need to use using namespace std; ! 2 Class Name Write a class Name

 can someone code this c++ project please?? thank you. p.s you

need to use using namespace std; ! 2 Class Name Write a

class Name class Name public Name) Ch Name(string set(s); void set(string s);string name ) const t return _name; ) string addressO const 1return _address; // mutator // accessor // accessor private: string _n string_address; ame; 1; . The string "_name" is the "short name" thatappears in a message display. . The string "_address" is the fullemail address, with the domain name included e The accessors are obvious.

can someone code this c++ project please??

thank you.

p.s you need to use using namespace std; !

2 Class Name Write a class Name class Name public Name) Ch Name(string set(s); void set(string s); string name ) const t return _name; ) string addressO const 1 return _address; // mutator // accessor // accessor private: string _n string _address; ame; 1; . The string "_name" is the "short name" that appears in a message display. . The string "_address" is the full email address, with the domain name included e The accessors are obvious. . We require a default constructor because draft messages can be created with no names. We require the header for use below. Write a mutator set as follows. 1. void set (string s) const string -domainGqc.cuny.edu" istringstream iss (s); iss >>_name; // see below // remove leading and trailing blank spaces 2. If name is blank, set address (blank) and exit the function. 3, If-name is not blank, set -address = -name + -domain. 4. Also convert _address to lower case

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!