diff options
| author | Connor McDowell <[email protected]> | 2024-02-21 14:02:30 -0800 |
|---|---|---|
| committer | Connor McDowell <[email protected]> | 2024-02-21 14:02:30 -0800 |
| commit | 227d0ef1a88219d54f2154c5fa95cae51ba932a6 (patch) | |
| tree | 6b55889bd43fbd863bbdcad481a41e58397e1f95 /Project1/program.cpp | |
| parent | added more comments and plans to do (diff) | |
| download | homework-6-connormcdowell275-227d0ef1a88219d54f2154c5fa95cae51ba932a6.tar.xz homework-6-connormcdowell275-227d0ef1a88219d54f2154c5fa95cae51ba932a6.zip | |
share push
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 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"; |