(1)成员函数
Construction
| CStringArray | Constructs an empty array for CStringobjects. |
Bounds
| GetSize | Gets number of elements in this array. |
| GetUpperBound | Returns the largest valid index. |
| SetSize | Sets the number of elements to be contained in this array. |
Operations
| FreeExtra | Frees all unused memory above the current upper bound. |
| RemoveAll | Removes all the elements from this array. |
Element Access

本文深入剖析了 CStringArray 的构造、边界操作、元素访问、数组增长、插入与移除等关键成员函数,揭示了其内部工作原理。
最低0.47元/天 解锁文章
1万+

被折叠的 条评论
为什么被折叠?



