But how do I add or delete an element.
It's not as easy as with C++ vectors.
You could use the ArrayList from the wiki, which behaves like a vector. However, this ArrayList was written to handle primitive data types like var, int or pointers. It can't handle structs, so you would have to store pointers to your structs instead. Storing pointers can have both advantages and drawbacks.