Autoexpandvector is a project mainly written in C and SHELL, it's free.
Auto expanding vectors in C
Java's arraylist like autoexpanding vectors for C