aboutsummaryrefslogtreecommitdiff
path: root/Project1/program.cpp
diff options
context:
space:
mode:
authorConnor McDowell <[email protected]>2024-02-18 14:28:42 -0800
committerConnor McDowell <[email protected]>2024-02-18 14:28:42 -0800
commita0a12a03f35034ba45c212a8bf24027cc4ea7b92 (patch)
tree1ef444a125d59426f5857301fb69281a8d48889c /Project1/program.cpp
parentafter all the testing ive more or less reverted back to what ive done. i have... (diff)
downloadhomework-5-connormcdowell275-a0a12a03f35034ba45c212a8bf24027cc4ea7b92.tar.xz
homework-5-connormcdowell275-a0a12a03f35034ba45c212a8bf24027cc4ea7b92.zip
its fixed ???? testing
Diffstat (limited to 'Project1/program.cpp')
-rw-r--r--Project1/program.cpp6
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)
{