Question: use c++ to develop the template class Develop a template class mylist. It has an array of 10 elements, which could be any data type.
Develop a template class mylist. It has an array of 10 elements, which could be any data type. It has a variable count, which records how many items of data has been put into the array. It has a constructor that set the mylist an empty list -- logically nothing in the array. It has a function add(), which will allow the user to add a data item into the array. Edit View Insert Format Tools Table 12pt Paragraph BIU ATV A & Tiv
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
