I made a pretty convenient C vector library a while back that lets you use the [] operator directly on the vector pointers: https://github.com/Mashpoe/c-vector
A neat project that was posted here a while back uses it: https://x.com/kotsoft/status/1792295331582869891