I'm trying to do this in C++:
struct sagrup
{
int imps;
int clicks;
int uclicks;
int conversions;
int * variable;
unordered_map<int, struct sagrup> siguiente;
};
unordered_map<int, struct sagrup> agrupacion;
And I'm getting error: forward declaration of ‘struct sagrup’
I want to have that struct and add other struct into that ordered map so it will be like a tree.
Thanks to anyone that could help!