-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDesigns.h
44 lines (37 loc) · 808 Bytes
/
Designs.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#include<iostream>
#include "Designer.h"
using namespace std;
class Designs{
private:
string designID;
string designName;
string designColor;
string designSex;
Designer *dsgnr;
public:
Designs(){
}
void assignDetails(string dID, string dName, string dColor, string dSex)
{
designID = dID;
designName = dName;
designColor = dColor;
designSex = dSex;
}
void displayDsgnDetail() //Display the design details
{
cout << "Design ID: " << designID << endl;
cout << "Design Name" << designName << endl;
cout << "Design Color" << designColor << endl;
cout << "Design Sex" << designSex << endl;
dsgnr->displayRinfo();
}
void addDesigns(Designer *dsner)
{
dsgnr = dsner;
}
~Designs()
{
cout << "Designs deleted" << endl;
}
};