11-22-2011, 01:55 AM
Pakka Dakooooooooooooo
|
cs304 assignment no 2 fall 2011 solution required
|
|
11-22-2011, 01:55 AM
Pakka Dakooooooooooooo
11-22-2011, 02:01 AM
mujay aik solution mila hai. here it is:::
#include<iostream.h> #include<conio.h> class Users{ // User class // Userclass attributes // Access specifier is by default private int ID; char Name; string Address; public:// public access specifier // User class functions/ operations void viewcard(); void searchcard(); };// end of User class // ************************************************************ // ************************************************************ class Administrator{ // Administrator class //Attributes of Administrator class int ID; char Name; string Address; password password; public:// public access specifier // Administrator class functions/operations void addcard(); bool deletecard(); void Viewcard(); void searchcard(); void sendcard(); };// end of Administrator class // ************************************************************ // ************************************************************ class Members{ // Members class //Attributes of Members // Access specifier is by default private int MemberID; char Name; string Address; // Member class functions/operations void Viewcard(); void searchcard(); void sendcard(); };// end of Member class // ************************************************************ // ************************************************************ class Memberlist{ // Memberlist class //Memberlist class attributes // Access specifier is by default private Char membername; Password password; Char status; Char country; public: // public access specifier // memberlist class functions/ operations void verifymembers(); void addmembers(); void getrecord(); void showmemberlist(); };// end of memberlist class // ************************************************************ // ************************************************************ class card{ // card class //card class attributes // Access specifier is by default private Int cardID; Char cardname; Int BGid; Int MUid; Date date; public: // public access specifier // memberlist class functions/ operations void sendcard(); };// end of card class // ************************************************************ // ************************************************************ class cardlist{ // cardlist class //cardlist class attributes // Access specifier is by default private Int cardID; Char cardname; public: // public access specifier // memberlist class functions/ operations Void delete(); void addcard(); void getcard(); };// end of cardlist class // ************************************************************ // ************************************************************ class Categorycatolog{ // Categorycatolog class // class attributes // Access specifier is by default private Int catID; Char catname; public: // public access specifier // memberlist class functions/ operations void addcatagory(); void deletecatagory(); void addcard(); void deletecard(); void showcard(); };// end of catagorycatolog class // ************************************************************ // ************************************************************
11-22-2011, 02:01 AM
hahahha na kro yr bachy ki jan lo gy
jis jis ko chahya wo mujhy apni apni id btya mein mail krta hn
11-22-2011, 02:02 AM
HAHAH dako.. yar dako rani movie ayi thi. mujay kidar say dako bana dia. main ajj kal busy hon is waja say na. ab kuch aur kam bhi tu karnay hotay han. so please don't mind baki bhi tu han share ker dia karen na. yahan par kia jata hai kuch bhi tu nahi.
11-22-2011, 02:11 AM
share kar diya hai, shayad kisi kay kaam aa jaye...
11-22-2011, 02:29 AM
is forum par post karnay may aap ko kiya problem hai, aap ko sharam aati hai.???
11-22-2011, 02:41 AM
gays is chawal ko chod do yeh lo answer.
but make some changes in this each student #include<iostream.h> #include<conio.h> { // administrator class // normal Members class attributes // Access specifier is by default private or normal class int ID; char name; user * user; //aggregation relationship b/w user and machine int card_no; public: // specifer public access // search class functions/ operations void search(); void View(); void cardtype(); void send(); }; // end of entry class class members { //Members class //Attributes of member class char * id; topic name; //composition relationship b/w member and card char * address; int cardtype; memberslist members; //composition relationship b/w members and cardlist public: // public access specifier //Members class functions/operations void add(); bool select(); void View(); void send(); }; // end of members class // ************************************************************ class cards // card types class { //Attributes of cards // Access specifier is by guest or norma users char * id; char * name; char * cardtype; date of expire ; //composition relationship b/w StudyProgram and course public:/ // public access specifier catag select(); char * ViewCardsList; }; // end of StudyProgram class // ************************************************************ class admin{ // Admin class //admin class attributes // Access specifier is by administrator int ID; char * title; public: // public access specifier // administrator class functions/ operations void add(); void remove(); //remove access bool select(); //select access void edit(); //edit access function void View(); //view access function void print(); //rint access function void download(); //download access function void upload(); //update access function }; // end of topic class
11-22-2011, 02:45 AM
this is also correct but some changes required. accordingly to your own sence
11-22-2011, 02:47 AM
#include<iostream.h>
#include<conio.h> class Users{ // User class // Userclass attributes // Access specifier is by default private int ID; char Name; string Address; public:// public access specifier // User class functions/ operations void viewcard(); void searchcard(); };// end of User class // ************************************************** ********** // ************************************************** ********** class Administrator{ // Administrator class //Attributes of Administrator class int ID; char Name; string Address; password password; public:// public access specifier // Administrator class functions/operations void addcard(); bool deletecard(); void Viewcard(); void searchcard(); void sendcard(); };// end of Administrator class // ************************************************** ********** // ************************************************** ********** class Members{ // Members class //Attributes of Members // Access specifier is by default private int MemberID; char Name; string Address; // Member class functions/operations void Viewcard(); void searchcard(); void sendcard(); };// end of Member class // ************************************************** ********** // ************************************************** ********** class Memberlist{ // Memberlist class //Memberlist class attributes // Access specifier is by default private Char membername; Password password; Char status; Char country; public: // public access specifier // memberlist class functions/ operations void verifymembers(); void addmembers(); void getrecord(); void showmemberlist(); };// end of memberlist class // ************************************************** ********** // ************************************************** ********** class card{ // card class //card class attributes // Access specifier is by default private Int cardID; Char cardname; Int BGid; Int MUid; Date date; public: // public access specifier // memberlist class functions/ operations void sendcard(); };// end of card class // ************************************************** ********** // ************************************************** ********** class cardlist{ // cardlist class //cardlist class attributes // Access specifier is by default private Int cardID; Char cardname; public: // public access specifier // memberlist class functions/ operations Void delete(); void addcard(); void getcard(); };// end of cardlist class // ************************************************** ********** // ************************************************** ********** class Categorycatolog{ // Categorycatolog class // class attributes // Access specifier is by default private Int catID; Char catname; public: // public access specifier // memberlist class functions/ operations void addcatagory(); void deletecatagory(); void addcard(); void deletecard(); void showcard(); };// end of catagorycatolog class // ************************************************** ********** // **************************************************
11-22-2011, 02:50 AM
Mr. Amir
please make some changes accrdingly othere wise it will be cancled. |
|
« Next Oldest | Next Newest »
|