共用方式為


CObArray::CObArray

Constructs an empty CObject pointer array.

CObArray( );

Remarks

The array grows one element at a time.

The following table shows other constructors that are similar to CObArray::CObArray.

Class

Constructor

CByteArray

CByteArray( );

CDWordArray

CDWordArray( );

CPtrArray

CPtrArray( );

CStringArray

CStringArray( );

CUIntArray

CUIntArray( );

CWordArray

CWordArray( );

Example

CObArray arr; //Array with default blocksize
CObArray* pArray = new CObArray; //Array on the heap with default blocksize      

Requirements

Header: afxcoll.h

See Also

Reference

CObArray Class

Hierarchy Chart

CObList::CObList