Answered step by step
Verified Expert Solution
Question
1 Approved Answer
can someone code this c++ projects? you need to use namespace std; thank you! 1 Class EmailAccount . The class EmailAccount is the high level
can someone code this c++ projects?
you need to use namespace std;
thank you!
1 Class EmailAccount . The class EmailAccount is the "high level" class which manages the message folders. . It is a relatively small class Most of the work is done in the folder classes. The class declaration is shown below . The class contains private data as follows, all of which are obvious. 1. The name of the owner Name _owner 2. A drafts folder (pointer) Drafts * drafts 3. A polymorphic pointer to the inbox BaseFolder* in. 4. A polymorphic pointer to the outbox BaseFolder*out class EmailAccount f public: EmailAccount (string s); EmailAccount O; const Name& owner () const 1 return _owner; // accessor Drafts& drafts return *_drafts; BaseFolder& in) return *_in; } BaseFolder& out) return *_out; b // accessor/mutator // accessor/mutator // accessor/mutator void send (Message *m); void receive (Message *m); void insert (Message *m); private: Name _owner; Drafts *_drafts; BaseFolder _in; BaseFolder* _outStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started