C++ can I have a vector of struct in a struct -


i have struct node. need have vector of node member of node. error:
error c2065 undeclared identifier
possible solve in c++?

update although think question clear, because insist see code, add code too:

typedef struct node_struct{     string id;     mwtypes mwtype;     bool geometricdecomposition;      node_struct()     {         mwtype = fork;         geometricdecomposition = false;     }   ...      vector<vector<node>> barrierworkers; } node; 


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -