aboutsummaryrefslogtreecommitdiff
path: root/Project1/program.cpp
blob: e5cd30a79c51a3ab82be92722ab0c46943d298e8 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// name: Connor McDowell
// date: 2/10/2024
// class: CST116
// reason: homework number 5

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

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


//
//
//int main()
//{
//
//
//
//
//
//	return 0;
//}

int main()
{
    contact newContact[10];
    //int choice = menu();
    //int i = 0;
    //int c = 0;
    //cin >> c;
    //if (c == 1)
    //{
    //    cout << "works!" << endl;
    //    for (int i = 0; i < 10; i++)
    //    {
    //        cin >> newContact[i].Name;
    //        cin >> newContact[i].Email;
    //        cin >> newContact[i].StreetAddress;
    //        cin >> newContact[i].City;
    //        cin >> newContact[i].State;
    //        cin >> newContact[i].Zip;
    //        break;
    //    }
    //    cout << newContact[i].Name << "\n" << newContact[i].Email << "\n" << newContact[i].StreetAddress << "\n" << newContact[i].City << "\n" << newContact[i].State << "\n" << newContact[i].Zip << endl;
    //}
    //for (int i = 0; i < 10; i++)
    //{
    //    cin >> newContact[i].Name;
    //    cin >> newContact[i].Email;
    //    cin >> newContact[i].StreetAddress;
    //    cin >> newContact[i].City;
    //    cin >> newContact[i].State;
    //    cin >> newContact[i].Zip;
    //}
    /*cin >> i;
	cout << newContact[i].Name << "\n" << newContact[i].Email << "\n" << newContact[i].StreetAddress << "\n" << newContact[i].City << "\n" << newContact[i].State << "\n" << newContact[i].Zip << endl;*/
    /*cout << "new name";
    cin >> newContact[2].Name;
    cout << newContact[2].Name;*/
}