aboutsummaryrefslogtreecommitdiff
path: root/Project1/Contacts.h
diff options
context:
space:
mode:
authorConnor McDowell <[email protected]>2024-02-19 16:16:40 -0800
committerConnor McDowell <[email protected]>2024-02-19 16:16:40 -0800
commit1ea9952ccd3168e629600c48d0ffaee53f9cb158 (patch)
tree6290efb7d5ed77e6dc5d3e8cb6ea0ccd094420e1 /Project1/Contacts.h
parentadd deadline (diff)
downloadhomework-6-connormcdowell275-1ea9952ccd3168e629600c48d0ffaee53f9cb158.tar.xz
homework-6-connormcdowell275-1ea9952ccd3168e629600c48d0ffaee53f9cb158.zip
.cpps and .hs added
Diffstat (limited to 'Project1/Contacts.h')
-rw-r--r--Project1/Contacts.h33
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