DynamicArraySpellbook is a C library that makes dynamic arrays much easier to use and manage. Instead of raw pointers and manually keeping track of size, and allocating memory, this library does all of that for you, and you can focus on the more important aspects of your program.
git clone https://github.com/loganjellis/DynamicArraySpellbook.git
cd DynamicArraySpellbook
cmake -S . -B build
cmake --build build
Using the library (in-directory, just place dynamic_array_spellbook.h inside your /include directory)
target_include_directories(app PRIVATE "path/to/include")
For an example of using the library, refer to example.c
To view the library's documentation, click here.