Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

Problem Statement:


In continuation of the assignment no. 1, consider the following class diagram (a part from Assignment no. 1 solution), detailed description of the diagram is given in the table.





Class Name

Attribute Name

Attribute Data Type

Behavior (Functions)



Character Pointer

- Default Constructor

        - Profit_Report()

        - Financial_Statement()  


Character Pointer





-          Default Constructor

-          Carray_Goods()







Character Pointer


-          Default Constructor


Character Pointer



Character Pointer


-          Default Constructor


Character Pointer









-          Default Constructor

-           Store()








-          Default Constructor

-          Store()








You are required to map (implement/Code) this class diagram into C++.

Make sure that your solution must contain ONLY classes’ definitions given in the diagram, definitions of all attributes and proper declaration and definitions of member functions including constructors that are given in the above table.


Detail of some Member Functions:


Profit_ Report( ):              This function prints the annual profit of the company.

Financial_Statement( ):   This function prints the annual financial statement of the company.

Carry_Good( ):                Each transport has carrying goods functionality.



  1. The body of all member functions should be empty, while the constructors should have code which initializes the objects.
  2. In main function you may print a simple “cout” statement in order to check your program for syntax errors.
  3. You must also implement inheritance and aggregation.


Lectures Covered:  This assignment covers Lecture #    07-10

Deadline:         Your assignment must be uploaded/submitted at or before. May 20, 2014


Views: 10584


Replies to This Discussion

Dear Students,


This assignment is too much easy, every thing given in assignment in concise way like classes, functions, member variables, attributes and behaviors (functions). What you do in this assignment I am elaborating here in general.

You just need listen as well as read the lectures.

Search on internet about classes, private attributes, public attributes, private methods and public methods.

Also look for how to access services of a class with in a class and outside of a class.

How classes protect your data by creating object outside the class.

I hope all entire hints will be helpful to you. But remember that I will never upload any kind of solution file. You can post any query related to this assignment here on or you may consult on skyp. I will just give you idea not solution and don't ask for solution.

Skype ID: mc110400860


Hope my words will be helpful to you.



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.

For guideline check this link of previous assignment  Fall 2013..!

link ne hy koi b

Tariq bahi assignment# 2 fall 2013 na??

tariq bhai link kidr hai

Assignment is very simple i will upload solution at last date :)

k umer zaman ...waiting the last date

ok lkn mei apki help krun ga full solution ni dn ga agree 

umer zaman last day pe help karain gay

assigment mei just apka syntax check krna hai ap inheritence ksy krtay ho nd clases kesay bnatay ho than osay apny main mei call ni krna just main function mei  cout" "; likh kar compile krna hai error check krna hai mei file submit kr rha hn check kr loo wsy he sari assigment bnay ge hint dy rha sari assignment wsy he hoge enjoy kero baqi khud kero 




Looking For Something? Search Below

Latest Activity

Shaaz WahCantt replied to Mr Siren Head's discussion Ning Chats
14 hours ago
Mr Siren Head replied to Mr Siren Head's discussion Ning Chats
16 hours ago
M. Haris left a comment for Sana rajput
20 hours ago
M. Haris left a comment for Sana rajput
20 hours ago
M. Haris liked Sana rajput's profile
20 hours ago
M. Haris liked MUSFIRA's profile
20 hours ago
M. Haris liked MUSFIRA's profile
20 hours ago
MUSFIRA replied to Mr Siren Head's discussion Ning Chats
20 hours ago

VIP Member Badge & Others

How to Get This Badge at Your Profile DP


Management: Admins ::: Moderators

Other Awards Badges List Moderators Group

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

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