- Delta
- Reserve
- Resize
- Shutdown
- Add
- AddArray
- AddArray
- Insert
- InsertArray
- InsertArray
- AssignArray
- AssignArray
- Update
- Shift
- Delete
- DeleteRange
- At
- CompareArray
- CompareArray
- Minimum
- Maximum
- InsertSort
- Search
- SearchGreat
- SearchLess
- SearchGreatOrEqual
- SearchLessOrEqual
- SearchFirst
- SearchLast
- SearchLinear
- Save
- Load
- Type
Insert
Inserts an element to the specified position in the array.
bool Insert(
|
Parameters
element
[in] Value of the element to be inserted into an array
pos
[in] Position in the array to insert
Return Value
true - successful, false - cannot insert the element.
Example:
//--- example for CArrayDouble::Insert(double,int)
|