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
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
