I am unclear about the following.
First, this code compiles fine:
#include typedef struct{ int x1,x2,x3,x4; } ints; typedef std
Try using a vector of vector instead.
vector