Vectors require that their pointer type corresponds to the contents of the vector (e.g. int* for a vector containing ints); otherwise, you have to explicitly cast the vector pointer to the correct ...
This is a vector implementation in C, using separate compilation method. Functions are implemented in c_vector.c and prototypes are in c_vector.h header file. You can see example usage in ...