Does anyone know if their is a way to instantiate a structure in C at runtime? Thanks in advance.
Sure, that's what malloc() is for.
struct data *my_data = (struct data *)malloc(sizeof(struct data));
Ralf
PS: You also might want to check the online help for the functions free(), calloc() and realloc()