From 1ea9952ccd3168e629600c48d0ffaee53f9cb158 Mon Sep 17 00:00:00 2001 From: Connor McDowell Date: Mon, 19 Feb 2024 16:16:40 -0800 Subject: .cpps and .hs added --- Project1/Contacts.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Project1/Contacts.h (limited to 'Project1/Contacts.h') 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 -- cgit v1.2.3