|
-
May 31st, 2013, 06:52 PM
#2
Re: Need Help with 2D arrays and functions
 Originally Posted by Jinjaninja1
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|