Add to Array

int Add(
ARG_TYPE item)
int Add(
const TYPE *pitem, 
int nCount)

Parameter

item

Item to add to the array.

pitem

Pointer to the location of the first item.

nCount

Number of items to add.

Comments

Returns the new size of the array, or zero if allocation failed.

Adds a copy of the given item to the end of the array, or adds an array of items to the array; a copy of each item is added.