In Assignment No.1 you developed Object Oriented Model for Library Management System, now you have to give its practical prototype in c++ mean you have to provide the solution of your first assignment and have to implement it in the form of classes in c++ also note that you don't have to give actual implementation in c++ but simple stereotype (sketch) in the form of c++ code mentioning class names their parameters and functions with access specifiers you also have to show the relationship between classes in the form of inheritance mentioning the name of class/classes from which they have been derived in proper c++ syntax.
For example a part of your code may look like,
class Student{
char name[50];
char id[10];
public:
void TakeClass();
}
class GraduateStudent : public Student
{
Attributes and behavior of graduate student…..
}
You will write such code for your Library Management System.
Code:
class Library
{
Private:
char name[50];
char interface[30];
double space[30];
public:
void store detail of data();
void add();
void Search();
void Return();
void Borrow();
}
class Administrator : public Library
{
Private:
Char name[50];
Char Gender[50];
Char id[50];
Char address[50];
Public:
void Login();
void Logoff();
void search();
void Add();
void Borrow();
void return();
}
class staff : public library
{
Private:
Char name[50];
Char Gender[50];
Char id[50];
Char address[50];
Public:
void Login();
void Logoff();
void search();
void Add();
void Borrow();
void return();
}
class student : public library
{
Private:
Char name[50];
Char Gender[50];
Char id[50];
Char address[50];
Public:
void Login();
void Logoff();
void search();
void Add();
void Borrow();
void return();
On Fri, May 6, 2011 at 9:43 AM, mc100401317 Razia Sultana <mc100401317@vu.edu.pk> wrote:
--any one solve the solutionOn Thu, May 5, 2011 at 9:26 PM, mc100401317 Razia Sultana <mc100401317@vu.edu.pk> wrote:
--
...:::Group Rules:::...
http://groups.google.com.pk/group/vu-pink/web/group-rules
^^^^^^
You received this message because you are subscribed to the Google
Groups "vu pink" group.
To post to this group, send email to vu-pink@googlegroups.com
To unsubscribe from this group, send email to
vu-pink+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com.pk/group/vu-pink?hl=en
We say, "Be one as Pakistani Nation and grow up for Pakistan's Future". Wish you all the best. Join www.vuaskari.com,
To post to this group, send email to vuaskari_com@googlegroups.com
Visit these groups:
This (Main) Group:http://groups.google.com/group/vuaskari_com?hl=en?hl=en
MIT/MCS Group: http://groups.google.com/group/vu_askarimit?hl=en?hl=en
HRM Group: http://groups.google.com/group/askari_hrm?hl=en?hl=en
Banking Group: http://groups.google.com/group/askari_banking?hl=en?hl=en
Management: https://groups.google.com/group/vuaskari_mgt?hl=en
Marketing: https://groups.google.com/group/vuaskari_mkt?hl=en
MIS Group: http://groups.google.com/group/askari_mis?hl=en
--
"Listen to everyone and Learn from everyone
because
Nobody knows everything but everyone knows something"
Admin Dua Waqar (MBA Finance)
[CS507, MKT501 , FIN623 , FIN630 , FINI619, MGT613]
Join us on:
--
We say, "Be one as Pakistani Nation and grow up for Pakistan's Future". Wish you all the best. Join www.vuaskari.com,
To post to this group, send email to vuaskari_com@googlegroups.com
Visit these groups:
This (Main) Group:http://groups.google.com/group/vuaskari_com?hl=en?hl=en
MIT/MCS Group: http://groups.google.com/group/vu_askarimit?hl=en?hl=en
HRM Group: http://groups.google.com/group/askari_hrm?hl=en?hl=en
Banking Group: http://groups.google.com/group/askari_banking?hl=en?hl=en
Management: https://groups.google.com/group/vuaskari_mgt?hl=en
Marketing: https://groups.google.com/group/vuaskari_mkt?hl=en
MIS Group: http://groups.google.com/group/askari_mis?hl=en
No comments:
Post a Comment
PLEASE COMMENT ABOUT YOUR VISIT AND MY SITE
Note: Only a member of this blog may post a comment.