aboutsummaryrefslogtreecommitdiff
path: root/Project1/Contacts.h
diff options
context:
space:
mode:
authorConnor McDowell <[email protected]>2024-02-17 20:21:37 -0800
committerConnor McDowell <[email protected]>2024-02-17 20:21:37 -0800
commit12ac77df4d844cb760db95ec65b9ed99d6bfeb7f (patch)
tree11c9d88d5bb54f31b7cb6dd6cad71fb82acd39c0 /Project1/Contacts.h
parentfinally getting into the groove of this assignment (diff)
downloadarchived-homework-5-connormcdowell275-12ac77df4d844cb760db95ec65b9ed99d6bfeb7f.tar.xz
archived-homework-5-connormcdowell275-12ac77df4d844cb760db95ec65b9ed99d6bfeb7f.zip
honk shoo
Diffstat (limited to 'Project1/Contacts.h')
-rw-r--r--Project1/Contacts.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Project1/Contacts.h b/Project1/Contacts.h
index a6b9497..00388dc 100644
--- a/Project1/Contacts.h
+++ b/Project1/Contacts.h
@@ -7,6 +7,7 @@
struct contact
{
+ int id = 0;
char Name[25] = {};
char Email[100] = {};
char StreetAddress[35] = {};
@@ -18,7 +19,7 @@ struct contact
int menu();
-char addNew(contact newContact);
+char addNew(contact newContact[]);
void update();