diff options
| author | Connor McDowell <[email protected]> | 2024-02-19 17:59:21 -0800 |
|---|---|---|
| committer | Connor McDowell <[email protected]> | 2024-02-19 17:59:21 -0800 |
| commit | 37e8217e006fc390ea50a65e2c45d8430c535dcb (patch) | |
| tree | 3ca9b1ff441adfd718528788344b73686d134951 /Project1/Contacts.h | |
| parent | char strings set up (diff) | |
| download | archived-homework-6-connormcdowell275-37e8217e006fc390ea50a65e2c45d8430c535dcb.tar.xz archived-homework-6-connormcdowell275-37e8217e006fc390ea50a65e2c45d8430c535dcb.zip | |
working on doubles
Diffstat (limited to 'Project1/Contacts.h')
| -rw-r--r-- | Project1/Contacts.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Project1/Contacts.h b/Project1/Contacts.h index a6a0691..51f5620 100644 --- a/Project1/Contacts.h +++ b/Project1/Contacts.h @@ -13,7 +13,7 @@ struct contact char Email[100]{}; char StreetAddress[35]{}; char City[30]{}; - char State[5]{}; + char State[3]{}; int Zip = 0; }; @@ -22,12 +22,12 @@ struct contact int menu(); -char addNew(contact newContact[], size_t MAX, int t); +char addNew(contact newContact[], size_t MAX, size_t t); void update(contact newContact[], size_t MAX); void printAll(contact newContact[], size_t MAX); -//char contact_double(contact*& newContact, size_t MAX, int t); +char contact_double(contact*& newContact, size_t MAX, size_t t); #endif CONTACTS_HEADER_H
\ No newline at end of file |