I am using some existing code that someone else has written, and I cannot get it to compile (limited C experience here but I am trying to learn!).
utilities.
They are forbidden, but a workaround is to use a stack allocator, for example:
http://howardhinnant.github.io/stack_alloc.html
You can use the stack allocator with a ::std::vector (or with some other container, or just directly) and you've got yourself a VLA.
::std::vector
VLA