Question: Dynamically growing an Array/Vector

December 08 2012 CodeKingPlusPlus 5

For the following procedure how do I dynamically grow the array? Is an Array the right datatype for this task?

I want the array c to be a 1 dimensional array with a dynamic number of elements.

Please Wait...