aboutsummaryrefslogtreecommitdiff
path: root/Project1/Contacts.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project1/Contacts.h')
-rw-r--r--Project1/Contacts.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Project1/Contacts.h b/Project1/Contacts.h
index d44e6c5..32da79c 100644
--- a/Project1/Contacts.h
+++ b/Project1/Contacts.h
@@ -7,7 +7,7 @@
struct contact
{
- int id = 0;
+ size_t id = 0;
int count = 0;
char Name[25]{};
char Email[100]{};
@@ -26,7 +26,7 @@ char addNew(contact newContact[], size_t MAX, size_t t);
void update(contact newContact[], size_t MAX);
-void printAll(contact newContact[], size_t MAX);
+void printAll(contact newContact[], size_t MAX, size_t Cont_list_lenth);
void contact_double(contact*& newContact, size_t MAX, size_t t);