From 227d0ef1a88219d54f2154c5fa95cae51ba932a6 Mon Sep 17 00:00:00 2001 From: Connor McDowell Date: Wed, 21 Feb 2024 14:02:30 -0800 Subject: share push --- Project1/program.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Project1/program.cpp') diff --git a/Project1/program.cpp b/Project1/program.cpp index 24a02ff..8b542f1 100644 --- a/Project1/program.cpp +++ b/Project1/program.cpp @@ -14,12 +14,12 @@ using std::endl; int main() { + size_t MAX = 3; int O = 1; + size_t t = 0; + contact* newContact = new contact[MAX]; while (O == 1) { - size_t MAX = 3; - size_t t = 0; - contact* newContact = new contact[MAX]; int c = 0; cout << "1. Enter a contact\n"; cout << "2. Update a contact\n"; -- cgit v1.2.3