2 Topics
|
|
“Magic Video Center” is a video rental company which rent outs Movies and Music videos to its customers. The rental fees for the Videos are calculated as follows. For Movie Video:- Rental fee = (Number of Days * Fee per day) + Extra Charge For Music Video:- Rental … |
|
I have the following structure: CObject { protected: char *mName; public: CObject(char *n) { mName=strdup(n); } }; CVector:public CObject { char *mValues[50]; int mElements; public: CVector(char *n):CObject(n) {} }; CMatrix:public CObject { char *mValues[50][50]; int mLines; int mColumns; public: CMatrix(char *n):CObject(n) {} }; My main function: int main() { pV=new … |
The End.