Jack Yang wrote: > I have a urgent question here.
http://www.catb.org/~esr/faqs/smart-questions.html#urgent http://nsnam.isi.edu/nsnam/index.php/Troubleshooting#when_and_how_to_write_to_the_user.27s_mailing-list > When I used the vector in ns2 and declared like this: > > vector<string> vecstring; > > and the errors appear below: > > error: use of `vector' is ambiguous > mobile/god.h:79: error: first declared as `class vector' here > /usr/include/c++/3.3.3/bits/stl_vector.h:185: error: also declared as > ` > template<class _Tp, class _Alloc> class std::vector' here Try std::vector<string> vecstring; HTH, --Timo
