Quote:
No, you only need to pass a double pointer if you intend for the function to modify the pointer itself. If you are only modifying the data in the array, then just pass the pointer.
Quote:
So yes your prototypes need semicolons.
And you only need to pass a pointer to your dynamic array if you intend to completely blow your dynamic array away and create a new one. (I.e., you need your pointer to point somewhere else.) If you're just going to move things around in the array you already have, then there's no need for an extra star. (Your dynamic array is an int *, so the ints that are pointed to can be changed by a function, but not the value of the pointer itself.)
oh ok...i understand. thanks guys, that helped me out alot...its compiling fine now.