Online Help, Guidance and Solutions for Virtual University of Pakistan Students
Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:
For any query about the assignment, contact at CS304@vu.edu.pk
The objective of this assignment is:
To give you the idea of practical implementation of some concepts like, definition of classes, Data members, member functions, Constructors, Composition etc.
For any query about the assignment, contact at email@example.com
We have the following part of class diagram showing composition relationship:
You are required to implement above class diagram (complete program) in C++ with all data members, constructors, member functions and concept (composition) given in the class diagram/table 1.
See the sample output to view the messages you need to print in constructors of all classes. In case of parameter constructors, you can select any of data member(s) according to the type of constructor.
kindly upload solution idea
Please find the attached file below.
Your code doesn't implement "Composition".
See the +loyal's code.
You have to create an object of both "WebPage" and "Links" inside "WebSite" definition.
Only then it will get clear that website is COMPOSED of webpage and links.