Question: i need to make a program in C++ that contains a template class called item containing two privates: one pointer (data) and one integer(size) and
i need to make a program in C++ that contains a template class called "item" containing two privates: one pointer (data) and one integer(size) and on the public part i need parameter, copy, setters and getters for data and size.

Create template class called item that contains the following: private: variable pointer data Variable int size public: parameter constructor default constructor destructor setters for data and size getters for data and size printData() function to show on console -prove this template class with int, double and Car
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
