'boost::add_edge' : cannot convert parameter 1 from 'char' to 'void *'
The problematic part is highlighted.
Code:
typedef
std::pair<char, char> Edge;vector<Edge> simpleedgevector;
vector<Edge>::iterator s_e_i;
for
(vec_it1 = output1.begin();vec_it1 !=output1.end();vec_it1++){simpleedge = Edge((*(*vec_it1)),(*(*vec_it1+1)));
simpleedgevector.push_back(simpleedge);}
for(s_e_i = simpleedgevector.begin();s_e_i != simpleedgevector.end();s_e_i++){edge_descriptor e;
bool inserted;cout<<
"first part : "<<(*s_e_i).first<<" second part : "<<(*s_e_i).second<<endl;tie(e, inserted) = add_edge((*s_e_i).first, (*s_e_i).second, g);
}