Quote Originally Posted by Jinjaninja1 View Post
Hey guys, I'm trying to do this problem set. You can read it here

https://www.dropbox.com/s/uj2kd8a764...blem%20Set.pdf

Basically I have already created the function that takes command line arguments and creates the dynamic array.
You need to destroy the array at the end. Without that, you have a memory leak, and you also won't show your teacher you know how to dispose of the allocated memory.
I need help linking these two functions together so that find_greatest_product function would take user input from create_array function and would find the largest product.
Aren't you just supposed to pass the int** to the function and work with it inside that function?

Regards,

Paul McKenzie