Export (0) Print
Expand All

CSimpleArray::Add

Adds a new element to the array.

BOOL Add( 
   const T& t  
);

t

The element to add to the array.

Returns TRUE if the element is successfully added to the array, FALSE otherwise.

// Create an array of integers and add some elements
CSimpleArray<int> iMyArray;
for (int i = 0; i < 10; i++)
   iMyArray.Add(i);  

Header: atlsimpcoll.h

Show:
© 2014 Microsoft