use c++ Language Program that achieves the following: a) creates a parent class ( Parent class is
Fantastic news! We've Found the answer you've been seeking!
Question:
use c++ Language
Program that achieves the following:
a) creates a parent class ( Parent class is not a template class) of message with following member
variables and getter setter functions
i) message id
ii) from
iii) to
b) Implement a template class( Child class must be template class ) that inherits from this abstract
class, child classes would be
i) textMessageClass
textMessageClass will have "Text"member variable.
ii) mediaMessageClass
mediaMessageClass will have "attachment"member variable
In the template class, define a static function that always returns
the current time which would be used to store in message body
to keep the context of when message was sent.
Related Book For
Financial Statement Analysis
ISBN: 978-0078110962
11th edition
Authors: K. R. Subramanyam, John Wild
Posted Date: