aboutsummaryrefslogtreecommitdiff
path: root/Project1/contact.h
blob: ced5d5fc536146e64655a65d2839f317518d5d02 (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;

	const char* Get_firstName();
	void Set_firstName(const char* firstName);

	const char* Get_lastName();
	void Set_lastName(const char* lastName);

	const char* Get_streetAddress();
	void Set_streetAddress(const char* streetAddress);

	const char* Get_city();
	void Set_city(const char* city);

	const char* Get_state();
	void Set_state(const char* state);

	int Get_zip();
	void Set_zip(int zip);

	const char* Get_email();
	void Set_email(const char* email);

	void print();

private:
	const char* _firstName{ };
	const char* _lastName{ };
	const char* _streetAddress{ };
	const char* _city{ };
	const char* _state{ };
	int _zip;
	const char* _email{ };

};

#endif CONTACT_HELPER