diff options
| author | Connor McDowell <[email protected]> | 2024-02-18 16:08:27 -0800 |
|---|---|---|
| committer | Connor McDowell <[email protected]> | 2024-02-18 16:08:27 -0800 |
| commit | 7addf3cf043f1fc00fd8a641ccf65aa13b2fef47 (patch) | |
| tree | 225a16ff4f875ea4ae796e44a093dd895b39b11e /Project1/Contacts.h | |
| parent | its fixed ???? testing (diff) | |
| download | archived-homework-5-connormcdowell275-7addf3cf043f1fc00fd8a641ccf65aa13b2fef47.tar.xz archived-homework-5-connormcdowell275-7addf3cf043f1fc00fd8a641ccf65aa13b2fef47.zip | |
got moving through the list working, but now print is broken;
Diffstat (limited to 'Project1/Contacts.h')
| -rw-r--r-- | Project1/Contacts.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Project1/Contacts.h b/Project1/Contacts.h index 60e4dcb..a7d5dda 100644 --- a/Project1/Contacts.h +++ b/Project1/Contacts.h @@ -8,11 +8,12 @@ struct contact { int id = 0; + int count = 0; char Name[25] = {}; char Email[100] = {}; char StreetAddress[35] = {}; char City[30] = {}; - char State[2] = {}; + char State[3] = {}; int Zip = 0; }; @@ -21,7 +22,7 @@ struct contact int menu(); -char addNew(contact newContact[], size_t MAX); +char addNew(contact newContact[], size_t MAX, int t); void update(contact newContact[], size_t MAX); |