aboutsummaryrefslogtreecommitdiff
path: root/Project1/Contacts.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project1/Contacts.h')
-rw-r--r--Project1/Contacts.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Project1/Contacts.h b/Project1/Contacts.h
index 60e4dcb..a7d5dda 100644
--- a/Project1/Contacts.h
+++ b/Project1/Contacts.h
@@ -8,11 +8,12 @@
struct contact
{
int id = 0;
+ int count = 0;
char Name[25] = {};
char Email[100] = {};
char StreetAddress[35] = {};
char City[30] = {};
- char State[2] = {};
+ char State[3] = {};
int Zip = 0;
};
@@ -21,7 +22,7 @@ struct contact
int menu();
-char addNew(contact newContact[], size_t MAX);
+char addNew(contact newContact[], size_t MAX, int t);
void update(contact newContact[], size_t MAX);