diff options
Diffstat (limited to 'Project1/program.cpp')
| -rw-r--r-- | Project1/program.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Project1/program.cpp b/Project1/program.cpp index 390bb30..1d21308 100644 --- a/Project1/program.cpp +++ b/Project1/program.cpp @@ -40,15 +40,15 @@ int main() //c = menu(); if (c == 1) { - addNew(newContact[], MAX); + addNew(&newContact[MAX], MAX); } if (c == 2) { - update(newContact[], MAX); + update(&newContact[MAX], MAX); } if (c == 3) { - printAll(newContact[], MAX); + printAll(&newContact[MAX], MAX); } if (c == 4) { |