Overclock.net banner

Using pointers with array

390 Views 1 Reply 2 Participants Last post by  error10
so i have

Code:
Code:
[CODE]
* doubleCapacity(int *list, int size)
{

code
code
}
[/CODE]
how can i return a new array that doubles the size of the parameter list ?
1 - 2 of 2 Posts
In PHP this is irrelevant since the arrays are automatically sized for you.
1 - 2 of 2 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top