|
Add
Adds an element to the end of the list.
int Add(
|
Parameters
element
[in] Value of the element to add to the list.
Return Value
Index of the added element - success, -1 - error.
Note
The element is not added to the list, if an invalid pointer (for example, NULL) is passed as a parameter.
Example:
//--- example for CList::Add(Cobject*)
|