3 ms·
Dynamic memory management in no way implies linked lists.
by mathieubordere 8y ago
Dynamic memory management in no way implies linked lists.
- nuclx 8y agoFair point. There are certainly other options like realloc'ing the memory for the array, if you want to keep constant time indexing.
- asdjw0efjlka 8y agoHe's a C programmer and they don't have generics, so they don't take advantage of vectors, but when you point this out they will display a macro hack or void* hack, then continue to use linked lists.
- nuclx 8y agoDid you see the OP ask any questions about C++?