can we declare vector with a struct inside this struct?
struct foo {
int a;
vector<foo>;
}
Or is there any work around for this?
can we declare vector with a struct inside this struct?
struct foo {
int a;
vector<foo>;
}
Or is there any work around for this?