The current problem I have is that I want to use a dynamic array of structures to create a very rudimentary database. I think that using realloc() in it's own function would be best, but I'm not too sure how realloc works.
Code:
void addOne(struct * record){
    realloc(record, sizeof((strlen(record)+1));
}
realloc() is used to add one more element containing a structure to the array by passing a pointer to the array to the addOne function. I get the length of the array, add one to it and use sizeof to determine how much more memory to allocate.

I'm sure this is wrong, but it's all I can come up with without seeing realloc in action. I've looked around for an example and nothing offers one.