Adding object to dynamic array using address returned from getArray();That makes a lot of sense, I was missing the setCarArray(newCarQuantity); function for the tempDeale...
Adding object to dynamic array using address returned from getArray();That makes sense why its assigned to null. [code] Dealer tempDealer; //assigned to NULL Car...
Adding object to dynamic array using address returned from getArray();so the [code] = tempDealer.getCarArray();[/code] is the mistake and is the wrong thing to assign th...
Adding object to dynamic array using address returned from getArray();Yes! The "cars" value is set to NULL when I debug I have edited my original post with my full code,...
Adding object to dynamic array using address returned from getArray();I believe what you're referring to is this line [code] Car* cars = tempDealer.getCarArray(); [/code...