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



// functions

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


int menu();

char addNew(contact* newContact, size_t MAX);

void update(contact* newContact, size_t MAX);

void printAll(contact newContact, size_t MAX);



#endif CONTACTS_HEADER_H