diff options
Diffstat (limited to 'Project1/Contacts.h')
| -rw-r--r-- | Project1/Contacts.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Project1/Contacts.h b/Project1/Contacts.h new file mode 100644 index 0000000..a7d5dda --- /dev/null +++ b/Project1/Contacts.h @@ -0,0 +1,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
\ No newline at end of file |