class Node
{
public:
string name;
list<string> edges;
};
list<Node> nodes;
Hello, Can you help. I used this class that you gave but i've struggling to add anything.
I tried
nodes.name.push_back(str);
but no use, and also i tried
nodes::name.push_back(str);
i also tried to compare sections by trying
nodes.name == temp;
but no use, Please help.