We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

CS304 Assignment No 02 Spring 2019 Solution & Discussion Due Date: 30-05-2019

+ Click Here To Join also Our facebook study Group.

+ Prohibited Content On Site + Report a violation + Report an Issue

..How to Join Subject Study Groups & Get Helping Material?..

See Your Saved Posts Timeline

Views: 1244


+ http://bit.ly/vucodes (Vu Study Groups By Subject Codes Wise)

Replies to This Discussion

Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions. Read More>>

Discussed & be touched with this discussion. After discussion a perfect solution will come in a result at the end.


“How to Join Subject Study Groups & Get Helping Material”


P.S:    Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”


Share below link with friends for solution & Discussion. A Single link for help in your education.



Composition relationship in C++, CS304 Assignment 2




Question:     (20 Marks)


Analyze the following class diagram (showing composition relationship) very carefully and implement it in C++ with all constructors, member functions and concept (composition) as shown in the given class diagramand table 1.


Class Diagram





Class Name



-Default constructor

Title Scene

-Default constructor

Start Scene

-Default constructor

Game Scene

-Default constructor

End Scene

-Default constructor

GUI Scene

-Default constructor

CUI Scene

-Default constructor

User Input Scene

-Default constructor

All Input Scene

-Default constructor


Table 1


You need to print a specific message in constructors of all classes as shown in following sample out.


Sample Output:






© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service