3 ms·
Writing a dynamic array in C is a good exercise in the amount of details you are spared in languages which provide basic containers. I recently revisited some
by jibsen 13y ago
Writing a dynamic array in C is a good exercise in the amount of details you are spared in languages which provide basic containers.
I recently revisited some example code I wrote many years ago [1], and found some new issues, and there are most likely still some I haven't noticed.
That being said, when you use a title like this article's, it is a good idea to check your example code thoroughly.
[1]: https://github.com/jibsen/scv https://github.com/jibsen/scv