In the days before c++ and vector/lists, how did they expand the size of arrays when they needed to store more data?
You can use "Gena" library. It closely resembles stl::vector
in pure C89.
From the README, it features:
vec[k][j]
;You can check it out here:
https://github.com/cher-nov/Gena