blob: 02d6b856ee4bedbdfe483ebca7f654555dd42e7b (
plain) (
blame)
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
|
#ifndef CONTACT_HELPER
#define CONTACT_HELPER
class contact
{
public:
contact() = default;
char* Get_firstName();
void Set_firstName(char firstName);
char* Get_lastName();
void Set_lastName(char lastName);
char* Get_streetAddress();
void Set_streetAddress(char streetAddress);
char* Get_city();
void Set_city(char city);
char* Get_state();
void Set_state(char state);
int Get_zip();
int Set_zip(int zip);
char* Get_email();
void Set_email(char email);
void print();
private:
char* _firstName{};
char* _lastName{};
char* _streetAddress{};
char* _city{};
char* _state{};
int _zip;
char* _email{};
};
#endif CONTACT_HELPER
|