From 885291c2b20a71dbb711cd5903b43564bcda0b10 Mon Sep 17 00:00:00 2001 From: Connor McDowell Date: Wed, 21 Feb 2024 18:36:11 -0800 Subject: start: finishing delete and assignment --- Project1/contacts.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Project1/contacts.cpp') diff --git a/Project1/contacts.cpp b/Project1/contacts.cpp index e542d64..67bed22 100644 --- a/Project1/contacts.cpp +++ b/Project1/contacts.cpp @@ -113,6 +113,7 @@ void printAll(contact newContact[], size_t& MAX) contact contact_double(contact*& newContact, size_t& MAX, size_t t) { + /*hell on earth is in this condenced comment*/ //supposedly doubles length. doesn't work. //current ideas: add if loop to whole main with the id counter t and if length of newContact = max double the length. //current problems: using const size_t max prevents editing size for the whole function, and it resets as soon as the while loop loops or leaves the scope of the if statement. -- cgit v1.2.3