The program to be written is a C ++ console application, and the length of the directory from the user
want to be. In a set of Heap memory locations where ball objects of the length entered are held
(the index itself and each ball object must be created at the heap address). Later
the following menu should appear on the screen.
1 - Print on screen
Ok for starters, heap memory is dynamically allocated memory. So now what are you wanting to create with this dynamic memory? What type of container will you use to store it? Vectors are dynamic and versatile. Will you use vectors? What code have you got so far?