aboutsummaryrefslogtreecommitdiff
path: root/Project1/Contacts.h
blob: a7d5dda10bcf9116ad3eb96862bfb0808d668a59 (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
#ifndef CONTACTS_HEADER_H
#define CONTACTS_HEADER_H



// functions

struct contact
{
    int id = 0;
    int count = 0;
    char Name[25] = {};
    char Email[100] = {};
    char StreetAddress[35] = {};
    char City[30] = {};
    char State[3] = {};
    int Zip = 0;
};

//contact newContact[11];


int menu();

char addNew(contact newContact[], size_t MAX, int t);

void update(contact newContact[], size_t MAX);

void printAll(contact newContact[], size_t MAX);



#endif CONTACTS_HEADER_H