aboutsummaryrefslogtreecommitdiff
path: root/Project1/main.cpp
blob: cb0a77b0d01c979342d70fa0bec67da0a16eac97 (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
// Name: Connor McDowell
// date: 2/19/24
// class: CST116
// reason: learning classes, in class exercise 13

#include <iostream>
#include "contact.h"

using std::cin;
using std::cout;
using std::endl;


int main()
{
	contact newContact;
	
	newContact.Set_firstName("Connor");
	newContact.Set_lastName("McDowell");
	newContact.Set_streetAddress("6051 Lakeview Blvd");
	newContact.Set_city("Lake Oswego");
	newContact.Set_state("Oregon");
	newContact.Set_zip(97035);
	newContact.Set_email("[email protected]");

	newContact = newContact;

	newContact.print();

	return 0;
}