Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cs304 assignment no 2 fall 2011 solution required
#11
Pakka Dakooooooooooooo
Reply
#12
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

// ************************************************************
// ************************************************************
Reply
#13
hahahha na kro yr bachy ki jan lo gy
jis jis ko chahya wo mujhy apni apni id btya mein mail krta hn
Reply
#14
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.
Reply
#15
share kar diya hai, shayad kisi kay kaam aa jaye...
Reply
#16
is forum par post karnay may aap ko kiya problem hai, aap ko sharam aati hai.???
Reply
#17
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
Reply
#18
this is also correct but some changes required. accordingly to your own sence
Reply
#19
#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

// ************************************************** **********
// **************************************************
Reply
#20
Mr. Amir
please make some changes accrdingly othere wise it will be cancled.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  CS301 Assignment # 4 Due Date: 02-Feb-2016 Vuhelper 0 2,323 02-03-2016, 05:38 PM
Last Post: Vuhelper
  CS703 – Advanced Operating Systems Assignment No.3 solution January 2016 Vuhelper 0 5,910 01-23-2016, 09:58 PM
Last Post: Vuhelper
  CS601 Data Communication Assignment No. 03 Solution 23rd January 2016 Vuhelper 1 1,929 01-23-2016, 06:09 PM
Last Post: Vuhelper
  CS403 Assignment No. 03 Solution 23rd January 2016 Vuhelper 2 1,166 01-23-2016, 03:18 PM
Last Post: Vuhelper
  CS506 Web Design and Development Assignment no 3 Solution 3rd January 2016 Vuhelper 0 2,243 01-23-2016, 03:16 PM
Last Post: Vuhelper
  CS724 Software Process Improvement Assignment No 01 Solution 20th January 2016 Vuhelper 0 1,969 01-20-2016, 06:26 PM
Last Post: Vuhelper
  CS711 Software Design Assignment No 01 Solution Due Date Feb 12, 2016 Vuhelper 0 1,666 01-20-2016, 06:24 PM
Last Post: Vuhelper
  CS709 Formal Methods for Software Engineering Assignment No 01 Solution January 2016 Vuhelper 0 1,804 01-20-2016, 06:22 PM
Last Post: Vuhelper
  cs703 assignment no 3 Solution 20th January 2016 Vuhelper 0 1,702 01-20-2016, 06:20 PM
Last Post: Vuhelper
  CS704 Assignment No. 01 Solution January 2016 Vuhelper 0 4,800 01-20-2016, 06:19 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)