Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Set Size and SetAtGrow difference in CArray

Please explain
Posted

1 solution

It is all hidden in the documentation:


SetSize[^]

Establishes the size of an empty or existing array; allocates memory if necessary.



SetAtGrow[^]

Sets the array element at the specified index.
Remarks
The array grows automatically if necessary (that is, the upper bound is adjusted to accommodate the new element).

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900