C++ Homework (friends function, describing members and friends after class)
Given the following class declarations
class THREE
{ private: int a[5];
public: void CopyData(string fname);
void SortArray();
void DisplayArray();
~THREE();
};
and the following three files: (a): convert the class to a class template to receive the type and the size of array a. Describe all members after class. (b): we want to display the sorted form of each file by 1-copying data from file into array a,9
2- sort array a,9
3- display the sorted form of array a
complete questions in attachment.
11 years ago
35
Answer(0)
Bids(0)
other Questions(10)
- what type of journal are the following transactions? (accounting)
- exam question
- English skills
- Assignment 2: Supply Chain Design and Implementation
- What is our personal responsibility toward the natural world, toward what we term our natural resources?
- effects of 2008 Global financial crisis on international business
- Alyssaâs Custom Cakes currently sells 5 birthday, 2 wed-ding, and 3 specialty cakes each month for $ 50, $ 150,...
- Chem lab report
- apa format 750 words plus reference
- ACC 291 WEEK 5 DQ __ 2 SETS OF ANSWER