Dynamic array: Difference between revisions

Content deleted Content added
Ryk (talk | contribs)
m changed footnote to use references
Line 13:
'''function''' insertEnd(''dynarray'' a, ''element'' e) {
'''if''' a.size = a.capacity {
/* resize a to twice its current capacity */
a.capacity = a.capacity × 2
}