can i know how to use and work with vectors withing vectors in c++ stl
like
" vector<int>g(vector<int>nodes(vector<int>adj))"
thanks
can i know how to use and work with vectors withing vectors in c++ stl
like
" vector<int>g(vector<int>nodes(vector<int>adj))"
thanks
my question is just to implement something adjacency linked list in vectors
std::list< blah > foo;
?
i guess u r talking about normal lists..
wat i asked for is adjacency linked list
Perhaps a map or hash table of vectors or some other container might be more suited to what you need.
Last edited by VirtualAce; 01-16-2009 at 06:29 PM.