Question
There are so many new advancements with technology. We can use our phones for programming, watching videos, surfing the internet, playing games, and so much
There are so many new advancements with technology. We can use our phones for programming, watching videos, surfing the internet, playing games, and so much more. There are devices that support the concept of electronic paper, so that we no longer need large file cabinets where we have to sort and organizepaper. For each of these technological advancements, there are positive and negativeaspects.
For example, with electronical paper, I can reduce my storage needs but I cant look at multiple pages at the same time. Do I consider other features such as touch screens, tablet functionality, and disk space for storage? With this program you help the user create and keep track of a wish list of new technology and the primary benefit and concern or drawback about each . Then, when the user is done, you can display all of the information to the user. In the end, all of this information needs to be saved in an external data file so it isnt lost. The key is to create a class (e.g., Te ch_List
)
with member functions to add a new technology, rate the feature (establish the pros and cons), and then display them. For each individual technological item, you will keep the following information; you may use a struct or a class for this:
1.
Name of the technology (e.g., Remarkable Tablet)
2.
A description of the item (e.g., Electronic paper)
3.
The approximate cost (e.g., $650)
4.
The best feature (e
.g., no more paper!)
5.
The worst feature (e.g., you cant look at more than one page at a time)
6.
General rating (e.g., 5 stars)
Then, what is most interesting is to hold a list of all of the different hi
-
tech items
that the user might be interested in.
Here is the class interface that you should start with (you may add to this or modify these functions):
class Tech_List
{
public:
Tech
_List
();
~
Tech
_List
();
void Add(
Tech
& to_add);
void Edit(
char
to_modify
[]
);
//only modifies the technology named
void
Display_all();
void Display_
benefit(
char item_name[]
); /
/
display just the good
for 1 item
!
void Display_con(
char item_name[]
);
//display just the
con for 1 item
private:
//P
ut the information about
the
wish list
of technology
.
//For this assignment, this should be a dynamically allocated array of
//tech items and an integer count
};
Make sure to use
dynamically allocated arrays
when we dont know the size at
compile time!
Step 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