C4 Engine Terathon Software C4 Engine API Documentation

• Utility Library

API Links
Developer Links

Array::AddElement

Defined in:  C4Array.h
Adds an object to the end of an array.
Prototype

void AddElement(const type& element);

Parameters
element The new element to add to the array.
Description
The AddElement function increases the size of an array by one and copy-constructs the new element using the object referenced by the element parameter.
See Also

Array::InsertElement

Array::RemoveElement

Array::GetElementCount

Array::SetElementCount