diff options
| author | Connor McDowell <[email protected]> | 2024-02-19 17:04:17 -0800 |
|---|---|---|
| committer | Connor McDowell <[email protected]> | 2024-02-19 17:04:17 -0800 |
| commit | 5205d3d77bb3327af401952692a859f7c87882f2 (patch) | |
| tree | c9f754b2177bc87c8aa64fbcc0e83cdcaad0726d /Project1/Contacts.h | |
| parent | working on doubling the size (diff) | |
| download | archived-homework-6-connormcdowell275-5205d3d77bb3327af401952692a859f7c87882f2.tar.xz archived-homework-6-connormcdowell275-5205d3d77bb3327af401952692a859f7c87882f2.zip | |
char strings set up
Diffstat (limited to 'Project1/Contacts.h')
| -rw-r--r-- | Project1/Contacts.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Project1/Contacts.h b/Project1/Contacts.h index 923c404..a6a0691 100644 --- a/Project1/Contacts.h +++ b/Project1/Contacts.h @@ -9,11 +9,11 @@ struct contact { int id = 0; int count = 0; - char Name[25] = {}; - char Email[100] = {}; - char StreetAddress[35] = {}; - char City[30] = {}; - char State[3] = {}; + char Name[25]{}; + char Email[100]{}; + char StreetAddress[35]{}; + char City[30]{}; + char State[5]{}; int Zip = 0; }; |